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>
This commit is contained in:
Paul Moore
2017-09-01 09:44:57 -04:00
parent 80ab4df627
commit b3b4fdf6a8
2 changed files with 2 additions and 2 deletions

View File

@@ -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,