This revision introduces a test-program for syscalls in administrative audit class.
The system calls introduced are:
- settimeofday(2)
- adjtime(2)
- getfh(2) nfs_getfh(2)
Differential D15861
Introduce test-program for administrative system calls aniketp on Jun 17 2018, 1:08 AM. Authored by Tags None Referenced Files
Subscribers
Details This revision introduces a test-program for syscalls in administrative audit class.
Execute make && make install from test/sys/audit.
Diff Detail
Event TimelineComment Actions For me the adjtime_failure call caused a kernel panic. panic: Bad tailq NEXT(0xfffff80055d3d388->tqh_last) != NULL cpuid = 3 time = 1529205824 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00264488a0 vpanic() at vpanic+0x1a3/frame 0xfffffe0026448900 panic() at panic+0x43/frame 0xfffffe0026448960 kaudit_to_bsm() at kaudit_to_bsm+0x5265/frame 0xfffffe0026448a10 audit_worker() at audit_worker+0x30d/frame 0xfffffe0026448a70 fork_exit() at fork_exit+0x84/frame 0xfffffe0026448ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0026448ab0 Comment Actions @asomers It was passing for me. Just to be sure, I set flag: all in /etc/security/audit_control but even then it passed without any issue |