Page MenuHomeFreeBSD

setaudit: Add an update mode
ClosedPublic

Authored by markj on Mon, Nov 10, 5:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 3, 7:29 AM
Unknown Object (File)
Tue, Nov 18, 10:47 AM
Unknown Object (File)
Tue, Nov 18, 10:26 AM
Unknown Object (File)
Tue, Nov 18, 10:26 AM
Unknown Object (File)
Mon, Nov 17, 1:47 PM
Unknown Object (File)
Fri, Nov 14, 6:11 AM
Unknown Object (File)
Tue, Nov 11, 10:10 AM
Unknown Object (File)
Tue, Nov 11, 6:02 AM
Subscribers

Details

Summary

By default, setaudit(8) overwrites the whole audit session state. For
the purpose of overwriting only a single field, e.g., the audit user,
this is inconvenient. Add -U to accomodate this case: when specified,
setaudit(8) will first fetch the current session state block and then
will only overwrite those fields specified on the command line.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable