audit: don't generate audit feature changed log when audit disabled
authorGao feng <gaofeng@cn.fujitsu.com>
Fri, 1 Nov 2013 11:34:43 +0000 (19:34 +0800)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:29:06 +0000 (22:29 -0500)
commitb6c50fe0be5b3a6be9c26f6941bc8c94cfaac1f8
treea66ff293f4ead81516d7456b61a32604bcf216db
parentaabce351b514e21e7768929ba6e5fbd87dc3848c
audit: don't generate audit feature changed log when audit disabled

If audit is disabled,we shouldn't generate the audit log.

Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c