diff options
author | Paul Moore <paul@paul-moore.com> | 2017-09-01 15:44:57 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-11-10 22:07:54 +0100 |
commit | b3b4fdf6a8ae9ea51ea274e3f2f8a6a58b98cc0b (patch) | |
tree | cd3af40b2208c29c162dd03655f4d3b5e2622ea5 /kernel/audit.h | |
parent | audit: don't use simple_strtol() anymore (diff) | |
download | linux-b3b4fdf6a8ae9ea51ea274e3f2f8a6a58b98cc0b.tar.xz 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.h')
-rw-r--r-- | kernel/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index b331d9b83f63..6bdaf6bd377e 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -208,7 +208,7 @@ struct audit_context { struct audit_proctitle proctitle; }; -extern u32 audit_ever_enabled; +extern bool audit_ever_enabled; extern void audit_copy_inode(struct audit_names *name, const struct dentry *dentry, |