OSDN Git Service

audit: bail before bug check if audit disabled
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 15 Feb 2018 02:47:44 +0000 (21:47 -0500)
committerPaul Moore <paul@paul-moore.com>
Thu, 15 Feb 2018 19:40:25 +0000 (14:40 -0500)
commit94d14e3e7b41d99f0d62a41fd856183057e1e474
treecc840d6314d06ae38ca5dc049318d3c2986330da
parent5260ecc2e0480cc7e184901ab4c3721d0c2765e3
audit: bail before bug check if audit disabled

If audit is disabled, who cares if there is a bug indicating syscall in
process or names already recorded.  Bail immediately on audit disabled.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/auditsc.c