aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/audit.c')
-rw-r--r--arch/x86_64/kernel/audit.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/audit.c b/arch/x86_64/kernel/audit.c
index b970de66ee59..06d3e5a14d9d 100644
--- a/arch/x86_64/kernel/audit.c
+++ b/arch/x86_64/kernel/audit.c
@@ -28,6 +28,15 @@ static unsigned signal_class[] = {
28~0U 28~0U
29}; 29};
30 30
31int audit_classify_arch(int arch)
32{
33#ifdef CONFIG_IA32_EMULATION
34 if (arch == AUDIT_ARCH_I386)
35 return 1;
36#endif
37 return 0;
38}
39
31int audit_classify_syscall(int abi, unsigned syscall) 40int audit_classify_syscall(int abi, unsigned syscall)
32{ 41{
33#ifdef CONFIG_IA32_EMULATION 42#ifdef CONFIG_IA32_EMULATION