]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
audit: use audit_set_enabled() in audit_enable()
authorPaul Moore <paul@paul-moore.com>
Fri, 1 Sep 2017 13:45:05 +0000 (09:45 -0400)
committerPaul Moore <paul@paul-moore.com>
Fri, 10 Nov 2017 21:07:57 +0000 (16:07 -0500)
commit5d842a5b77a58160625548fa6be2dc159179ffdb
treeda0f32735645658f01ff6bec624fa6b9a04b4cd3
parentb3b4fdf6a8ae9ea51ea274e3f2f8a6a58b98cc0b
audit: use audit_set_enabled() in audit_enable()

Use audit_set_enabled() to enable auditing during early boot.  This
obviously won't emit an audit change record, but it will work anyway
and should help prevent in future problems by consolidating the
enable/disable code in one function.

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