syslog: use defined constants instead of raw numbers
authorKees Cook <kees.cook@canonical.com>
Wed, 3 Feb 2010 23:37:13 +0000 (15:37 -0800)
committerJames Morris <jmorris@namei.org>
Thu, 4 Feb 2010 03:20:41 +0000 (14:20 +1100)
commitd78ca3cd733d8a2c3dcd88471beb1a15d973eed8
treea27ccf86f5f7df3cc987d0203ed0bff2db46db57
parent002345925e6c45861f60db6f4fc6236713fd8847
syslog: use defined constants instead of raw numbers

Right now the syslog "type" action are just raw numbers which makes
the source difficult to follow.  This patch replaces the raw numbers
with defined constants for some level of sanity.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
fs/proc/kmsg.c
include/linux/syslog.h
kernel/printk.c
security/commoncap.c
security/selinux/hooks.c