Skip to content
Commit 312103d6 authored by Chris Metcalf's avatar Chris Metcalf Committed by Eric Paris
Browse files

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: default avatarEric Paris <eparis@redhat.com>
parent ab9705f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment