freebsd-src/usr.sbin/setaudit
Mark Johnston 1238610a27 setaudit: Add an update mode
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.

Reviewed by:	csjp
MFC after:	2 weeks
Sponsored by:	Modirum MDPay
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D53672
2025-11-18 16:24:20 +00:00
..
.gitignore
Makefile
setaudit.8 setaudit: Add an update mode 2025-11-18 16:24:20 +00:00
setaudit.c setaudit: Add an update mode 2025-11-18 16:24:20 +00:00