sia_audit(3)sia_audit(3)NAMEsia_audit - Variable format interface for audgen - SIA (Security Inte‐
gration Architecture)
SYNOPSIS
#include <siad.h>
int sia_audit(
u_int event,
... );
LIBRARY
Standard C library (libc.so and libc.a)
PARAMETERS
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.
DESCRIPTION
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.
RESTRICTIONS
The audgen system call is privileged.
RETURN VALUES
The sia_audit() routine returns SIASUCCESS or SIAFAIL.
ERRORS
The errno value is that set by the audgen system call. Possible errors
include resource constraints (no memory) and various authentication
failures.
SEE ALSOaudgen(2), audgenl(3), sysconfig(8), sysconfigdb(8)
Security
sia_audit(3)