summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2017-09-01 09:44:57 -0400
committerPaul Moore <paul@paul-moore.com>2017-11-10 16:07:54 -0500
commitb3b4fdf6a8ae9ea51ea274e3f2f8a6a58b98cc0b (patch)
treecd3af40b2208c29c162dd03655f4d3b5e2622ea5 /kernel/audit.c
parent80ab4df62706b882922c3bb0b05ce2c8ab10828a (diff)
downloadlinux-b3b4fdf6a8ae9ea51ea274e3f2f8a6a58b98cc0b.tar.gz
linux-b3b4fdf6a8ae9ea51ea274e3f2f8a6a58b98cc0b.tar.bz2
linux-b3b4fdf6a8ae9ea51ea274e3f2f8a6a58b98cc0b.zip
audit: convert audit_ever_enabled to a boolean
We were treating it as a boolean, let's make it a boolean to help avoid future mistakes. Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index e75918f79a83..f0cf9bfc806c 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -86,7 +86,7 @@ static int audit_initialized;
#define AUDIT_ON 1
#define AUDIT_LOCKED 2
u32 audit_enabled = AUDIT_OFF;
-u32 audit_ever_enabled = !!AUDIT_OFF;
+bool audit_ever_enabled = !!AUDIT_OFF;
EXPORT_SYMBOL_GPL(audit_enabled);