3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
23 */
24
25 #ifndef _BSM_AUDIT_KEVENTS_H
26 #define _BSM_AUDIT_KEVENTS_H
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 /*
33 * Audit event numbers.
34 *
35 * 0 Reserved as an invalid event number.
36 * 1 - 511 Allocated for Solaris kernel
37 * 512 - 2047 (reserved but not allocated)
38 * 2048 - 32767 Reserved for the Solaris TCB application.
39 * 32768 - 65535 Available for third party applications.
40 *
41 * NOTE: libbsm/audit_event.txt must be updated elsewhere when changes
42 * are made to kernel events.
331 #define AUE_CONFIGKSSL 293 /* =as kernel SSL */
332 #define AUE_BRANDSYS 294 /* =ot */
333 #define AUE_PF_POLICY_ADDRULE 295 /* =as Add IPsec policy rule */
334 #define AUE_PF_POLICY_DELRULE 296 /* =as Delete IPsec policy rule */
335 #define AUE_PF_POLICY_CLONE 297 /* =as Clone IPsec policy */
336 #define AUE_PF_POLICY_FLIP 298 /* =as Flip IPsec policy */
337 #define AUE_PF_POLICY_FLUSH 299 /* =as Flush IPsec policy rules */
338 #define AUE_PF_POLICY_ALGS 300 /* =as Update IPsec algorithms */
339 #define AUE_PORTFS 301 /* =no portfs(2) - place holder */
340 #define AUE_LABELSYS_TNRH 302 /* =as tnrh(2) */
341 #define AUE_LABELSYS_TNRHTP 303 /* =as tnrhtp(2) */
342 #define AUE_LABELSYS_TNMLP 304 /* =as tnmlp(2) */
343 #define AUE_PORTFS_ASSOCIATE 305 /* =fa portfs(2) - port associate */
344 #define AUE_PORTFS_DISSOCIATE 306 /* =fa portfs(2) - port disassociate */
345 #define AUE_SETSID 307 /* =pm setsid(2) */
346 #define AUE_SETPGID 308 /* =pm setpgid(2) */
347 #define AUE_FACCESSAT 309 /* =no obsolete */
348 #define AUE_AUDITON_GETAMASK 310 /* =aa */
349 #define AUE_AUDITON_SETAMASK 311 /* =as */
350 #define AUE_PSECFLAGS 312 /* =pm psecflags */
351
352 /* NOTE: update MAX_KEVENTS below if events are added. */
353 #define MAX_KEVENTS 312
354
355 #ifdef __cplusplus
356 }
357 #endif
358
359 #endif /* _BSM_AUDIT_KEVENTS_H */
|
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright 2018 Nexenta Systems, Inc. All rights reserved.
24 */
25
26 #ifndef _BSM_AUDIT_KEVENTS_H
27 #define _BSM_AUDIT_KEVENTS_H
28
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32
33 /*
34 * Audit event numbers.
35 *
36 * 0 Reserved as an invalid event number.
37 * 1 - 511 Allocated for Solaris kernel
38 * 512 - 2047 (reserved but not allocated)
39 * 2048 - 32767 Reserved for the Solaris TCB application.
40 * 32768 - 65535 Available for third party applications.
41 *
42 * NOTE: libbsm/audit_event.txt must be updated elsewhere when changes
43 * are made to kernel events.
332 #define AUE_CONFIGKSSL 293 /* =as kernel SSL */
333 #define AUE_BRANDSYS 294 /* =ot */
334 #define AUE_PF_POLICY_ADDRULE 295 /* =as Add IPsec policy rule */
335 #define AUE_PF_POLICY_DELRULE 296 /* =as Delete IPsec policy rule */
336 #define AUE_PF_POLICY_CLONE 297 /* =as Clone IPsec policy */
337 #define AUE_PF_POLICY_FLIP 298 /* =as Flip IPsec policy */
338 #define AUE_PF_POLICY_FLUSH 299 /* =as Flush IPsec policy rules */
339 #define AUE_PF_POLICY_ALGS 300 /* =as Update IPsec algorithms */
340 #define AUE_PORTFS 301 /* =no portfs(2) - place holder */
341 #define AUE_LABELSYS_TNRH 302 /* =as tnrh(2) */
342 #define AUE_LABELSYS_TNRHTP 303 /* =as tnrhtp(2) */
343 #define AUE_LABELSYS_TNMLP 304 /* =as tnmlp(2) */
344 #define AUE_PORTFS_ASSOCIATE 305 /* =fa portfs(2) - port associate */
345 #define AUE_PORTFS_DISSOCIATE 306 /* =fa portfs(2) - port disassociate */
346 #define AUE_SETSID 307 /* =pm setsid(2) */
347 #define AUE_SETPGID 308 /* =pm setpgid(2) */
348 #define AUE_FACCESSAT 309 /* =no obsolete */
349 #define AUE_AUDITON_GETAMASK 310 /* =aa */
350 #define AUE_AUDITON_SETAMASK 311 /* =as */
351 #define AUE_PSECFLAGS 312 /* =pm psecflags */
352 #define AUE_SACL 313 /* =sa SACL auditing (reserved) */
353
354 /* NOTE: update MAX_KEVENTS below if events are added. */
355 #define MAX_KEVENTS 313
356
357 #ifdef __cplusplus
358 }
359 #endif
360
361 #endif /* _BSM_AUDIT_KEVENTS_H */
|