Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Renumber AUDIT_TTY_[GS]ET

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

Signed-off-by: Miloslav Trmac <mitr@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Miloslav Trmac and committed by
Linus Torvalds
6dc2c1b7 1ff6f3db

+2 -2
+2 -2
include/linux/audit.h
··· 63 63 #define AUDIT_ADD_RULE 1011 /* Add syscall filtering rule */ 64 64 #define AUDIT_DEL_RULE 1012 /* Delete syscall filtering rule */ 65 65 #define AUDIT_LIST_RULES 1013 /* List syscall filtering rules */ 66 - #define AUDIT_TTY_GET 1014 /* Get TTY auditing status */ 67 - #define AUDIT_TTY_SET 1015 /* Set TTY auditing status */ 66 + #define AUDIT_TTY_GET 1016 /* Get TTY auditing status */ 67 + #define AUDIT_TTY_SET 1017 /* Set TTY auditing status */ 68 68 69 69 #define AUDIT_FIRST_USER_MSG 1100 /* Userspace messages mostly uninteresting to kernel */ 70 70 #define AUDIT_USER_AVC 1107 /* We filter this differently */