HomeFreeBSD

audit(4): add tests for _exit(2), cap_enter(2), and cap_getmode(2)

Description

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

Details

Committed
asomersJul 17 2018, 3:12 PM
Differential Revision
D16099: Introduce tests for Capability mode System calls and _exit(2)
Parents
rS336417: Add a FALLTHROUGH comment to kvprintf().
Branches
Unknown
Tags
Unknown