diff options
Diffstat (limited to 'usr/src/uts/common')
-rw-r--r-- | usr/src/uts/common/c2/audit.h | 16 | ||||
-rw-r--r-- | usr/src/uts/common/c2/audit_event.c | 4 | ||||
-rw-r--r-- | usr/src/uts/common/c2/audit_kevents.h | 14 |
3 files changed, 15 insertions, 19 deletions
diff --git a/usr/src/uts/common/c2/audit.h b/usr/src/uts/common/c2/audit.h index c5c1b70923..05e11099ca 100644 --- a/usr/src/uts/common/c2/audit.h +++ b/usr/src/uts/common/c2/audit.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -213,18 +213,18 @@ typedef au_id_t auid_t; #define BSM_SETAUID 20 #define BSM_GETAUDIT 21 #define BSM_SETAUDIT 22 -#define BSM_GETUSERAUDIT 23 -#define BSM_SETUSERAUDIT 24 +/* 23 OBSOLETE */ +/* 24 OBSOLETE */ #define BSM_AUDIT 25 /* 26 OBSOLETE */ /* 27 EOL announced for Sol 10 */ #define BSM_AUDITON 28 #define BSM_AUDITCTL 29 -#define BSM_GETKERNSTATE 30 -#define BSM_SETKERNSTATE 31 -#define BSM_GETPORTAUDIT 32 -#define BSM_REVOKE 33 -#define BSM_AUDITSTAT 34 +/* 30 OBSOLETE */ +/* 31 OBSOLETE */ +/* 32 OBSOLETE */ +/* 33 OBSOLETE */ +/* 34 OBSOLETE */ #define BSM_GETAUDIT_ADDR 35 #define BSM_SETAUDIT_ADDR 36 #define BSM_AUDITDOOR 37 diff --git a/usr/src/uts/common/c2/audit_event.c b/usr/src/uts/common/c2/audit_event.c index 68714359c0..697794e487 100644 --- a/usr/src/uts/common/c2/audit_event.c +++ b/usr/src/uts/common/c2/audit_event.c @@ -2784,9 +2784,6 @@ aui_auditsys(au_event_t e) case BSM_AUDIT: e = AUE_AUDIT; break; - case BSM_GETPORTAUDIT: - e = AUE_GETPORTAUDIT; - break; case BSM_AUDITON: case BSM_AUDITCTL: @@ -3035,7 +3032,6 @@ aus_auditsys(struct t_audit_data *tad) case AUE_GETAUDIT: case AUE_GETAUDIT_ADDR: case AUE_AUDIT: - case AUE_GETPORTAUDIT: case AUE_AUDITON_GPOLICY: case AUE_AUDITON_GQCTRL: case AUE_AUDITON_GETKMASK: diff --git a/usr/src/uts/common/c2/audit_kevents.h b/usr/src/uts/common/c2/audit_kevents.h index cbd1d478d6..dd6bc877ba 100644 --- a/usr/src/uts/common/c2/audit_kevents.h +++ b/usr/src/uts/common/c2/audit_kevents.h @@ -168,8 +168,8 @@ extern "C" { #define AUE_SETAUID 131 /* =aa setauid(2) */ #define AUE_GETAUDIT 132 /* =aa getaudit(2) */ #define AUE_SETAUDIT 133 /* =aa setaudit(2) */ -#define AUE_GETUSERAUDIT 134 /* =no getuseraudit(2) */ -#define AUE_SETUSERAUDIT 135 /* =no setuseraudit(2) */ +/* 134 OBSOLETE */ +/* 135 OBSOLETE */ /* 136 OBSOLETE */ /* 137 OBSOLETE */ #define AUE_AUDITON 138 /* =no auditon(2) */ @@ -181,11 +181,11 @@ extern "C" { #define AUE_AUDITON_SESTATE 144 /* =no auditctl(2): SETESTATE */ #define AUE_AUDITON_GQCTRL 145 /* =as auditctl(2): GETQCTRL */ #define AUE_AUDITON_SQCTRL 146 /* =as auditctl(2): SETQCTRL */ -#define AUE_GETKERNSTATE 147 /* =no getkernstate(2) */ -#define AUE_SETKERNSTATE 148 /* =no setkernstate(2) */ -#define AUE_GETPORTAUDIT 149 /* =no getportaudit(2) */ -#define AUE_AUDITSTAT 150 /* =no auditstat(2) */ -#define AUE_REVOKE 151 /* =no revoke(2) */ +/* 147 OBSOLETE */ +/* 148 OBSOLETE */ +/* 149 OBSOLETE */ +/* 150 OBSOLETE */ +/* 151 OBSOLETE */ #define AUE_MAC 152 /* =no MAC use */ #define AUE_ENTERPROM 153 /* =na enter prom */ #define AUE_EXITPROM 154 /* =na exit prom */ |