]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
audit(4): add tests for _exit(2), cap_enter(2), and cap_getmode(2)
authorasomers <asomers@FreeBSD.org>
Tue, 17 Jul 2018 15:12:55 +0000 (15:12 +0000)
committerasomers <asomers@FreeBSD.org>
Tue, 17 Jul 2018 15:12:55 +0000 (15:12 +0000)
commitdcf603aedee3e6490287eab3107932a67fc7f79a
tree08091429859930c5fdc9a25821b772bef25f387b
parentee61c6704cceae8f7fb41cef1598a93171d5aff9
audit(4): add tests for _exit(2), cap_enter(2), and cap_getmode(2)

Also, fix a bug in common code that could cause other tests to fail: using
ppoll(2) in combination with buffered I/O for /dev/auditpipe.  Fix it by
disabling buffering.

Submitted by: aniketp
MFC after: 2 weeks
Sponsored by: Google, Inc. (GSoC 2018)
Differential Revision: https://reviews.freebsd.org/D16099
tests/sys/audit/process-control.c
tests/sys/audit/utils.c