Skip to contentSkip to conversation

Renumber AUDIT_TTY_[GS]ET

PATCH New Miloslav Trmac 1 participant 1 message Aug 15, 2007 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Renumber AUDIT_TTY_[GS]ET

Renumber AUDIT_TTY_[GS]ET to avoid a conflict with netlink message types already used in the wild.

From: Miloslav Trmac <[email protected]>

Renumber AUDIT_TTY_[GS]ET to avoid a conflict with netlink message types already used in the wild.

---
 audit.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/audit.h +2 -2
index 4bbd860..d6579df 100644
@@ -63,8 +63,8 @@
 #define AUDIT_ADD_RULE		1011	/* Add syscall filtering rule */
 #define AUDIT_DEL_RULE		1012	/* Delete syscall filtering rule */
 #define AUDIT_LIST_RULES	1013	/* List syscall filtering rules */
-#define AUDIT_TTY_GET		1014	/* Get TTY auditing status */
-#define AUDIT_TTY_SET		1015	/* Set TTY auditing status */
+#define AUDIT_TTY_GET		1016	/* Get TTY auditing status */
+#define AUDIT_TTY_SET		1017	/* Set TTY auditing status */
 
 #define AUDIT_FIRST_USER_MSG	1100	/* Userspace messages mostly uninteresting to kernel */
 #define AUDIT_USER_AVC		1107	/* We filter this differently */