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)
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>

No differences found