Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
summerofcode2018projects:regressiontestsuiteforauditframework [2018/07/22 17:10] – No tests are failing currently AniketPandeysummerofcode2018projects:regressiontestsuiteforauditframework [2021/04/26 04:41] (current) – Fix MailTo macros. JethroNederhof
Line 14: Line 14:
  
   * The audit(4) sub-directory within %%FreeBSD%% source tree:  [[https://github.com/freebsd/freebsd/tree/master/tests/sys/audit|tests/sys/audit]]   * The audit(4) sub-directory within %%FreeBSD%% source tree:  [[https://github.com/freebsd/freebsd/tree/master/tests/sys/audit|tests/sys/audit]]
 +
 +  * The auditpipe(4) sub-directory within %%FreeBSD%% source tree:  [[https://github.com/freebsd/freebsd/tree/master/tests/sys/auditpipe|tests/sys/auditpipe]]
  
   * The praudit(1) sub-directory within %%FreeBSD%% source tree:  [[https://github.com/freebsd/freebsd/tree/master/usr.sbin/praudit/tests|usr.sbin/praudit/tests]]   * The praudit(1) sub-directory within %%FreeBSD%% source tree:  [[https://github.com/freebsd/freebsd/tree/master/usr.sbin/praudit/tests|usr.sbin/praudit/tests]]
Line 64: Line 66:
 | 8 | [[https://reviews.freebsd.org/D16086|D16086]] | Process-Control: Add tests for procctl(2) system call | [[https://github.com/freebsd/freebsd/commit/02ce2b098fd5350cbcc7a9b33c2ef66d17895efc|Merged]] ✔ | | 8 | [[https://reviews.freebsd.org/D16086|D16086]] | Process-Control: Add tests for procctl(2) system call | [[https://github.com/freebsd/freebsd/commit/02ce2b098fd5350cbcc7a9b33c2ef66d17895efc|Merged]] ✔ |
 | ::: | [[https://reviews.freebsd.org/D16099|D16099]] | Process-Control: Introduce tests for Capability mode System calls and _exit(2) | [[https://github.com/freebsd/freebsd/commit/dcf603aedee3e6490287eab3107932a67fc7f79a|Merged]] ✔ | | ::: | [[https://reviews.freebsd.org/D16099|D16099]] | Process-Control: Introduce tests for Capability mode System calls and _exit(2) | [[https://github.com/freebsd/freebsd/commit/dcf603aedee3e6490287eab3107932a67fc7f79a|Merged]] ✔ |
-| ::: | [[https://reviews.freebsd.org/D16116|D16116]] | Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS | Accepted ✔ |+| ::: | [[https://reviews.freebsd.org/D16116|D16116]] | Introduce tests for sysctl(3), and sysarch(2) for AMD64, i386, ARM & MIPS | [[https://github.com/freebsd/freebsd/commit/c4906a4c8acfcf02b7cef3ce5b0f7886c813dd9d|Merged]] ✔ |
 | 9 | [[https://reviews.freebsd.org/D16210|D16210]] | audit_syscall_exit: Don't acquire evclass_lock with a spinlock held | [[https://github.com/freebsd/freebsd/commit/53cad6012e2eba29bd81e2ca4606b507ca25e924|Merged]] ✔ | | 9 | [[https://reviews.freebsd.org/D16210|D16210]] | audit_syscall_exit: Don't acquire evclass_lock with a spinlock held | [[https://github.com/freebsd/freebsd/commit/53cad6012e2eba29bd81e2ca4606b507ca25e924|Merged]] ✔ |
 | ::: | [[https://reviews.freebsd.org/D16222|D16222]] | auditon(2): Fix the misplacement of negation symbol in A_SETPOLICY command | [[https://github.com/freebsd/freebsd/commit/eab3b9a210dadc4a1060d02b8021d81dd445d816|Merged]] ✔ | | ::: | [[https://reviews.freebsd.org/D16222|D16222]] | auditon(2): Fix the misplacement of negation symbol in A_SETPOLICY command | [[https://github.com/freebsd/freebsd/commit/eab3b9a210dadc4a1060d02b8021d81dd445d816|Merged]] ✔ |
Line 70: Line 72:
 | 10 | [[https://reviews.freebsd.org/D16379|D16379]] | Add initial expected failures cases for chflagsat(2), lgetfh(2), setfib(2) | [[https://github.com/freebsd/freebsd/commit/ef456cc0487e58e55db59df0fde6ab4fbc12e614|Merged]] ✔ | | 10 | [[https://reviews.freebsd.org/D16379|D16379]] | Add initial expected failures cases for chflagsat(2), lgetfh(2), setfib(2) | [[https://github.com/freebsd/freebsd/commit/ef456cc0487e58e55db59df0fde6ab4fbc12e614|Merged]] ✔ |
 | ::: | [[https://reviews.freebsd.org/D16381|D16381]] | Default case and ENOSYS expected cases for auditon(2) system call | [[https://github.com/freebsd/freebsd/commit/0c565d0fad6fa598edffbfb17effb1b371912098|Merged]] ✔ | | ::: | [[https://reviews.freebsd.org/D16381|D16381]] | Default case and ENOSYS expected cases for auditon(2) system call | [[https://github.com/freebsd/freebsd/commit/0c565d0fad6fa598edffbfb17effb1b371912098|Merged]] ✔ |
 +| 11 | [[https://reviews.freebsd.org/D16388|D16388]] | Fix audit of chflagsat(2), lgetfh(2), setfib(2) (reviewed) | [[https://github.com/freebsd/freebsd/commit/fdd4863d45fca279c2e2ab09113ebac24792d021|Merged]] ✔ |
 +| ::: | [[https://reviews.freebsd.org/D16395|D16395]] | Introduce test-program for auditpipe(4) initial ioctls | [[https://github.com/freebsd/freebsd/commit/7cc005451c1e4094f7f25d60862794ec589c4335|Merged]] ✔ |
 +| ::: | [[https://reviews.freebsd.org/D16407|D16407]] | Fix incorrect operator in the AUDITPIPE_SET_QLIMIT bounds check | [[https://github.com/freebsd/freebsd/commit/db248ffff183c72dab407a2ee84ff13843902997|Merged]] ✔ |
 +| 12 | [[https://reviews.freebsd.org/D16448|D16448]] | Add various other ioctls for auditpipe(4) and bound-check condition | Open :?: |
 +| ::: | [[https://reviews.freebsd.org/D16475|D16475]] | Introduce test-program for auditon(2) syscall's functionalities | Open :?: |
  
 ---- ----
Line 165: Line 172:
 | 7 | [[https://lists.freebsd.org/pipermail/soc-status/2018-July/001155.html|2018-July/001155]] | | 7 | [[https://lists.freebsd.org/pipermail/soc-status/2018-July/001155.html|2018-July/001155]] |
 | 8 | [[https://lists.freebsd.org/pipermail/soc-status/2018-July/001165.html|2018-July/001165]] | | 8 | [[https://lists.freebsd.org/pipermail/soc-status/2018-July/001165.html|2018-July/001165]] |
 +| 9-12 | [[https://lists.freebsd.org/pipermail/soc-status/2018-August/001178.html|2018-August/001178]] |
  
 ===== Test Suite: Audit Class Summary ===== ===== Test Suite: Audit Class Summary =====
Line 280: Line 288:
   - :?: BSD libc converts ''%%open(2)%%'' to ''%%openat(2)%%'' to optimize resource usage when certain arguments are passed. The testing was done using ''%%syscall(2)%%''.   - :?: BSD libc converts ''%%open(2)%%'' to ''%%openat(2)%%'' to optimize resource usage when certain arguments are passed. The testing was done using ''%%syscall(2)%%''.
   - This Wiki's general construct was heavily borrowed from [[SummerOfCode2017/SmokeTestingOfBaseUtilities|SmokeTestingOfBaseUtilities]] and [[SummerOfCode2016/TCP-IP-RegressionTestSuite|TCP-IP-RegressionTestSuite]], authored by [[/ShivanshRai]].   - This Wiki's general construct was heavily borrowed from [[SummerOfCode2017/SmokeTestingOfBaseUtilities|SmokeTestingOfBaseUtilities]] and [[SummerOfCode2016/TCP-IP-RegressionTestSuite|TCP-IP-RegressionTestSuite]], authored by [[/ShivanshRai]].
 +
 +==== Acknowledgement ====
 +
 +I can't thank my mentors enough for all the help they provided during the summers. Also, thanks to [[/ShivanshRai]], [[/MateuszPiotrowski]] & [[/DomagojStolfa]] for helping me at various stages of my project when I was stuck. It has been a valuable learning experience and definitely something way more than I could have expected for a summer! I look forward to continue the work on improving the ''%%audit(4)%%'' subsystem and also exploring various other areas of %%FreeBSD%%.
 +
 +And thanks to The %%FreeBSD%% Project for accepting this project and welcoming me into the community!
  
  • summerofcode2018projects/regressiontestsuiteforauditframework.1532279455.txt.gz
  • Last modified: 2018/07/22 17:10
  • by AniketPandey