aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDarrel Goeddel <dgoeddel@trustedcs.com>2006-06-29 17:56:39 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2006-07-01 05:44:08 -0400
commit3a6b9f85c641a3b89420b0c8150ed377526a1fe1 (patch)
treee44e64edf0620d3f6da443c57540b09882231459 /include
parent5adc8a6adc91c4c85a64c75a70a619fffc924817 (diff)
[PATCH] audit: rename AUDIT_SE_* constants
This patch renames some audit constant definitions and adds additional definitions used by the following patch. The renaming avoids ambiguity with respect to the new definitions. Signed-off-by: Darrel Goeddel <dgoeddel@trustedcs.com> include/linux/audit.h | 15 ++++++++---- kernel/auditfilter.c | 50 ++++++++++++++++++++--------------------- kernel/auditsc.c | 10 ++++---- security/selinux/ss/services.c | 32 +++++++++++++------------- 4 files changed, 56 insertions(+), 51 deletions(-) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/audit.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index a489104ae3a4..c211f0a2abb4 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -151,12 +151,17 @@
151#define AUDIT_PERS 10 151#define AUDIT_PERS 10
152#define AUDIT_ARCH 11 152#define AUDIT_ARCH 11
153#define AUDIT_MSGTYPE 12 153#define AUDIT_MSGTYPE 12
154#define AUDIT_SE_USER 13 /* security label user */ 154#define AUDIT_SUBJ_USER 13 /* security label user */
155#define AUDIT_SE_ROLE 14 /* security label role */ 155#define AUDIT_SUBJ_ROLE 14 /* security label role */
156#define AUDIT_SE_TYPE 15 /* security label type */ 156#define AUDIT_SUBJ_TYPE 15 /* security label type */
157#define AUDIT_SE_SEN 16 /* security label sensitivity label */ 157#define AUDIT_SUBJ_SEN 16 /* security label sensitivity label */
158#define AUDIT_SE_CLR 17 /* security label clearance label */ 158#define AUDIT_SUBJ_CLR 17 /* security label clearance label */
159#define AUDIT_PPID 18 159#define AUDIT_PPID 18
160#define AUDIT_OBJ_USER 19
161#define AUDIT_OBJ_ROLE 20
162#define AUDIT_OBJ_TYPE 21
163#define AUDIT_OBJ_LEV_LOW 22
164#define AUDIT_OBJ_LEV_HIGH 23
160 165
161 /* These are ONLY useful when checking 166 /* These are ONLY useful when checking
162 * at syscall exit time (AUDIT_AT_EXIT). */ 167 * at syscall exit time (AUDIT_AT_EXIT). */