diff options
author | Paul Moore | 2016-01-13 15:18:55 +0100 |
---|---|---|
committer | Paul Moore | 2016-01-13 15:18:55 +0100 |
commit | 96368701e1c89057bbf39222e965161c68a85b4b (patch) | |
tree | b8d652f4ca36f45f0f327f6e6d57c02309e53c29 /init/Kconfig | |
parent | audit: Delete unnecessary checks before two function calls (diff) | |
download | kernel-qcow2-linux-96368701e1c89057bbf39222e965161c68a85b4b.tar.gz kernel-qcow2-linux-96368701e1c89057bbf39222e965161c68a85b4b.tar.xz kernel-qcow2-linux-96368701e1c89057bbf39222e965161c68a85b4b.zip |
audit: force seccomp event logging to honor the audit_enabled flag
Previously we were emitting seccomp audit records regardless of the
audit_enabled setting, a deparature from the rest of audit. This
patch makes seccomp auditing consistent with the rest of the audit
record generation code in that when audit_enabled=0 nothing is logged
by the audit subsystem.
The bulk of this patch is moving the CONFIG_AUDIT block ahead of the
CONFIG_AUDITSYSCALL block in include/linux/audit.h; the only real
code change was in the audit_seccomp() definition.
Signed-off-by: Tony Jones <tonyj@suse.de>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'init/Kconfig')
0 files changed, 0 insertions, 0 deletions