setac endac getacdir getacmin getacfilesz getacflg getacna getacpol au_poltostr au_strtopol - look up information from the audit_control database
Lb libbsm
The
setac ();
function
resets the database iterator to the beginning of the database; see the
Sx BUGS
section for more information.
The
endac ();
function
closes the
audit_control5
database.
The
getacdir ();
function
returns the name of the directory where log data is stored via the passed
character buffer
Fa name
of length
Fa len .
The
getacmin ();
function
returns the minimum free disk space for the audit log target file system via
the passed
Fa min_val
variable.
The
getacfilesz ();
function
returns the audit trail rotation size in the passed
Vt size_t
buffer
Fa size_val .
The
getacflg ();
function
returns the audit system flags via the the passed character buffer
Fa auditstr
of length
Fa len .
The
getacna ();
function
returns the non-attributable flags via the passed character buffer
Fa auditstr
of length
Fa len .
The
getacpol ();
function
returns the audit policy flags via the passed character buffer
Fa auditstr
of length
Fa len .
The
au_poltostr ();
function
converts a numeric audit policy mask,
Fa policy ,
to a string in the passed character buffer
Fa buf
of lenth
Fa maxsize .
The
au_strtopol ();
function
converts an audit policy flags string,
Fa polstr ,
to a numeric audit policy mask returned via
Fa policy .
The
au_poltostr ();
function
returns a string length of 0 or more on success, or a negative value on
if there is a failure.
Functions that return a string value will return a failure if there is insufficient room in the passed character buffer for the full string.
The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems.
These interfaces inconsistently return various negative values depending on the failure mode, and do not always set errno on failure.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |