sia_audit - Variable format interface for audgen - SIA
(Security Integration Architecture)
#include <siad.h>
int sia_audit(
u_int event,
... );
Standard C library (libc.so and libc.a)
The event argument indicates the event value of the operation
being audited, as defined in audit.h. The value of
event must be between MIN_TRUSTED_EVENT and
MIN_TRUSTED_EVENT + N_TRUSTED_EVENTS -1 or between
MIN_SITE_EVENT and MIN_SITE_EVENT + n_site_events -1 as
defined in audit.h. The definition of n_site_events is
determined by executing the sysconfig -q sec
audit_site_events command on the running kernel.
The sia_audit() routine is an interface for the audgen
system call. It accepts a variable number of arguments
describing the event and audit data, then calls with the
appropriate parameters to generate the audit record.
The audgen system call is privileged.
The sia_audit() routine returns SIASUCCESS or SIAFAIL.
The errno value is that set by the audgen system call.
Possible errors include resource constraints (no memory)
and various authentication failures.
audgen(2), audgenl(3), sysconfig(8), sysconfigdb(8)
Security
sia_audit(3)
[ Back ] |