Page MenuHomeFreeBSD

setaudit: Add an update mode
ClosedPublic

Authored by markj on Nov 10 2025, 5:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 13, 11:41 PM
Unknown Object (File)
Wed, May 13, 10:31 PM
Unknown Object (File)
Wed, May 13, 12:10 AM
Unknown Object (File)
Mon, Apr 27, 4:55 PM
Unknown Object (File)
Apr 6 2026, 9:32 PM
Unknown Object (File)
Apr 6 2026, 6:31 PM
Unknown Object (File)
Apr 5 2026, 9:19 PM
Unknown Object (File)
Mar 24 2026, 7:06 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 68515
Build 65398: arc lint + arc unit