audit_kevents.h revision d31ffe9996cf2d1eb9aca6dd983f98f4598cb675
/*
* 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
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _BSM_AUDIT_KEVENTS_H
#define _BSM_AUDIT_KEVENTS_H
#pragma ident "%Z%%M% %I% %E% SMI"
#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 */
/*
* 116 - 129 are available for future growth (old SunOS_CMW events
* that had no libbsm or praudit support or references)
*/
/* 179 OBSOLETE */
/* 180 OBSOLETE */
/* 181 OBSOLETE */
/* 182 OBSOLETE */
/* NOTE: update MAX_KEVENTS below if events are added. */
#define MAX_KEVENTS 293
#ifdef __cplusplus
}
#endif
#endif /* _BSM_AUDIT_KEVENTS_H */