Main index | Section 3 | Options |
#include <bsm/libbsm.h>
The getauuserent() function returns the next user found in the audit_user(5) database, or the first if the function has not yet been called. NULL will be returned if no further records are available.
The getauusernam() function looks up a user by name. NULL will be returned if no matching class can be found.
The setauuser() function resets the iterator through the audit_user(5) database, causing the next call to getauuserent() to start again from the beginning of the file.
The endauuser() function closes the audit_user(5) database, if open.
The au_user_mask() function calculates a new session audit mask to be returned via mask_p for the user identified by username. If the user audit configuration is not found, the default system audit properties returned by getacflg(3) are used. The resulting mask may be set via a call to setaudit(2) or related variants.
The getfauditflags() function generates a new process audit state by combining the audit masks passed as parameters with the system audit masks.
The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems.
AU_USER (3) | April 19, 2005 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | If at first you don't succeed, you must be a programmer. | ” |