| 1238610a | 17-Nov-2025 |
Mark Johnston <markj@FreeBSD.org> |
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 -
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
show more ...
|
| 551191e1 | 17-Nov-2025 |
Mark Johnston <markj@FreeBSD.org> |
setaudit: Fix handling of numeric UIDs
The usage of strtoul() was incorrect.
Reviewed by: csjp MFC after: 2 weeks Sponsored by: Modirum MDPay Sponsored by: Klara, Inc. Differential Revision: https:
setaudit: Fix handling of numeric UIDs
The usage of strtoul() was incorrect.
Reviewed by: csjp MFC after: 2 weeks Sponsored by: Modirum MDPay Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D53671
show more ...
|
| a9be8f99 | 17-Nov-2025 |
Mark Johnston <markj@FreeBSD.org> |
setaudit: Bump WARNS and fix some style bugs
- Cast sockaddrs through void to silence warnings about expected alignment. - Fix cast style. - Sort includes. - Make some global variables local. - So
setaudit: Bump WARNS and fix some style bugs
- Cast sockaddrs through void to silence warnings about expected alignment. - Fix cast style. - Sort includes. - Make some global variables local. - Sort options.
No functional change intended.
Reviewed by: csjp MFC after: 2 weeks Sponsored by: Modirum MDPay Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D53670
show more ...
|