 |
Index for Section 3 |
|
 |
Alphabetical listing for S |
|
sia_audit(3)
NAME
sia_audit - Variable format interface for audgen - SIA (Security
Integration Architecture)
LIBRARY
Standard C library (libc.so and libc.a)
SYNOPSIS
#include <siad.h>
int sia_audit(
u_int event,...);
PARAMETERS
event 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 found in /usr/sys/data/audit_data.c.
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.
RELATED INFORMATION
audgen(2), audgenl(3)
Security