]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
audit(4): add tests for _exit(2), cap_enter(2), and cap_getmode(2)
authorAlan Somers <asomers@FreeBSD.org>
Tue, 17 Jul 2018 15:12:55 +0000 (15:12 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Tue, 17 Jul 2018 15:12:55 +0000 (15:12 +0000)
commit405f09319f7f66190d8e4b9719c3f33b628305e6
tree08091429859930c5fdc9a25821b772bef25f387b
parent9295517ac93642fa5a7c99882c06803050ffeb8c
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