diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2014-03-25 14:25:41 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2014-04-10 23:51:29 +0200 |
commit | 312103d64d0fcadb332899a2c84b357ddb18f4e3 (patch) | |
tree | c000c66645e669e13f96b305ef08748e81e90fb4 /kernel/seccomp.c | |
parent | audit: renumber AUDIT_FEATURE_CHANGE into the 1300 range (diff) | |
download | linux-312103d64d0fcadb332899a2c84b357ddb18f4e3.tar.xz linux-312103d64d0fcadb332899a2c84b357ddb18f4e3.zip |
AUDIT: make audit_is_compat depend on CONFIG_AUDIT_COMPAT_GENERIC
On systems with CONFIG_COMPAT we introduced the new requirement that
audit_classify_compat_syscall() exists. This wasn't true for everything
(apparently not for "tilegx", which I know less that nothing about.)
Instead of wrapping the preprocessor optomization with CONFIG_COMPAT we
should have used the new CONFIG_AUDIT_COMPAT_GENERIC. This patch uses
that config option to make sure only arches which intend to implement
this have the requirement.
This works fine for tilegx according to Chris Metcalf
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions