audit_kevents.h revision d2a70789f056fc6c9ce3ab047b52126d80b0e3da
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _BSM_AUDIT_KEVENTS_H
#define _BSM_AUDIT_KEVENTS_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Audit event numbers.
*
* 0 Reserved as an invalid event number.
* 1 - 511 Allocated for Solaris kernel
* 512 - 2047 (reserved but not allocated)
* 2048 - 32767 Reserved for the Solaris TCB application.
* 32768 - 65535 Available for third party applications.
*
* NOTE: libbsm/audit_event.txt must be updated elsewhere when changes
* are made to kernel events.
*/
#define AUE_NULL 0 /* =no indir system call */
/*
* 119 - 129 are available for future growth (old SunOS_CMW events
* that had no libbsm or praudit support or references)
*/
/* 134 OBSOLETE */
/* 135 OBSOLETE */
/* 137 OBSOLETE */
/* 147 OBSOLETE */
/* 148 OBSOLETE */
/* 149 OBSOLETE */
/* 150 OBSOLETE */
/* 151 OBSOLETE */
/* 152 OBSOLETE */
/* 155 OBSOLETE */
/* 156 OBSOLETE */
/* 157 OBSOLETE */
/* 159 OBSOLETE */
/* 160 OBSOLETE */
/* 161 OBSOLETE */
/* 162 OBSOLETE */
/* 163 OBSOLETE */
/* 164 OBSOLETE */
/* 165 OBSOLETE */
/* 166 OBSOLETE */
/* 167 OBSOLETE */
/* 168 OBSOLETE */
/* 169 OBSOLETE */
/* 170 OBSOLETE */
/* 171 OBSOLETE */
/* 172 OBSOLETE */
/* 179 OBSOLETE */
/* 180 OBSOLETE */
/* 181 OBSOLETE */
/* 182 OBSOLETE */
/* NOTE: update MAX_KEVENTS below if events are added. */
#define MAX_KEVENTS 312
#ifdef __cplusplus
}
#endif
#endif /* _BSM_AUDIT_KEVENTS_H */