sia_log - Log events and errors - SIA (Security Integration Architecture)
Standard C library (libc.so and libc.a)
The sia_log() routine logs events and error messages into the sialog file. Each entry is time and PID stamped to track when and who was making the log entry.
The sia_log() routine appends to an existing log file. If the log file does not exist, it is not created (no error is returned). The sialog file is intended for debugging possible SIA problems. Use the audit subsystem for normal auditing and logging.
The sia_log() routine returns SIASUCCESS or SIAFAIL.
The errno value is not normally set explicitly by sia_* routines. The errno values are those returned from the dynamic loader interface, from dependent (siad_*) routines, from malloc, from stdio routines such as fopen and vfprintf, or local routines such as catopen. Possible errors include resource constraints (no memory) and various authentication failures.
Security delim off