audit_svcfinis Kernel Service

Purpose

Writes an audit record for a kernel service.

Syntax

#include <sys/types.h> #include <sys/errno.h> #include <sys/audit.h> int audit_svcfinis ( )

Description

The audit_svcfinis kernel service completes an audit record begun earlier by the audit_svcstart kernel service and writes it to the kernel audit logger. Any space allocated for the record and associated buffers is freed.

If the system call terminates without calling the audit_svcfinis service, the switched virtual circuit (SVC) handler exit routine writes the records. This exit routine calls the audit_svcfinis kernel service to complete the records.

Execution Environment

The audit_svcfinis kernel service can be called from the process environment only.

Return Values

The audit_svcfinis kernel service always returns a value of 0.