1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 /* 23 * Copyright 1987 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27 #pragma ident "%Z%%M% %I% %E% SMI" 28 /* 29 * Integer, short and long representations of audit event classes 30 * used by audit mechanism. 31 * 32 * audit.h must be included before this include file. AU_* values 33 * are defined in audit.h. 34 */ 35 36 #ifndef _auevents_h 37 #define _auevents_h 38 39 #define AU_ALL AU_DREAD|AU_DWRITE|AU_DACCESS|AU_DCREATE|AU_LOGIN|AU_SREAD|AU_SCTL |AU_MINPRIV|AU_MAJPRIV|AU_ADMIN|AU_ASSIGN 40 41 struct event_cl { 42 unsigned int event_mask; 43 char *event_sname; 44 char *event_lname; 45 } event_class[] ={ 46 AU_DREAD, "dr", "data_read", 47 AU_DWRITE, "dw", "data_write", 48 AU_DACCESS, "da", "data_access_change", 49 AU_DCREATE, "dc", "data_create", 50 AU_LOGIN, "lo", "login_logout", 51 AU_SREAD, "sr", "spooler_read", 52 AU_SCTL, "sc", "spooler_control", 53 AU_MINPRIV, "p0", "minor_privilege", 54 AU_MAJPRIV, "p1", "major_privilege", 55 AU_ADMIN, "ad", "administrative", 56 AU_ASSIGN, "as", "device_assign", 57 AU_ALL, "all", "all" 58 }; 59 60 #endif /*!_auevents_h*/ 61