AU_USER_MASK(3BSM) | Security and Auditing Library Functions | AU_USER_MASK(3BSM) |
cc [ flag... ] file... -lbsm -lsocket -lnsl [ library... ] #include <bsm/libbsm.h> int au_user_mask(char *username, au_mask_t *mask_p);
The audit preselection mask is constructed as follows:
success flags = (system default success flags + per-user always success flags) - per-user never success flags failure flags = (system default failure flags + per-user always failure flags) - per-user never failure flags
The au_user_mask() function fails only if the system wide audit flags could not be retrieved.
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Stable |
MT-Level | MT-Safe |
If global zone auditing is set, a local zone cannot reduce the default flags.
March 6, 2017 | OmniOS |