Page MenuHomeFreeBSD

setaudit: Add an update mode
AcceptedPublic

Authored by markj on Mon, Nov 10, 5:06 PM.
Tags
None
Referenced Files
F135626468: D53672.diff
Tue, Nov 11, 10:10 AM
F135605837: D53672.id166143.diff
Tue, Nov 11, 6:02 AM
F135602975: D53672.id.diff
Tue, Nov 11, 5:32 AM
F135596425: D53672.id166143.diff
Tue, Nov 11, 4:04 AM
F135593274: D53672.id.diff
Tue, Nov 11, 3:23 AM
F135590694: D53672.diff
Tue, Nov 11, 2:51 AM
Subscribers

Details

Reviewers
csjp
kevans
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