diff options
-rw-r--r-- | arch/openrisc/kernel/ptrace.c | 2 | ||||
-rw-r--r-- | include/linux/audit.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/openrisc/kernel/ptrace.c b/arch/openrisc/kernel/ptrace.c index e71781d24b0e..71a2a0c34c65 100644 --- a/arch/openrisc/kernel/ptrace.c +++ b/arch/openrisc/kernel/ptrace.c | |||
@@ -187,7 +187,7 @@ asmlinkage long do_syscall_trace_enter(struct pt_regs *regs) | |||
187 | */ | 187 | */ |
188 | ret = -1L; | 188 | ret = -1L; |
189 | 189 | ||
190 | audit_syscall_entry(audit_arch(), regs->gpr[11], | 190 | audit_syscall_entry(AUDIT_ARCH_OPENRISC, regs->gpr[11], |
191 | regs->gpr[3], regs->gpr[4], | 191 | regs->gpr[3], regs->gpr[4], |
192 | regs->gpr[5], regs->gpr[6]); | 192 | regs->gpr[5], regs->gpr[6]); |
193 | 193 | ||
diff --git a/include/linux/audit.h b/include/linux/audit.h index 36abf2aa7e68..95d98308c06e 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -337,6 +337,7 @@ enum { | |||
337 | #define AUDIT_ARCH_MIPSEL (EM_MIPS|__AUDIT_ARCH_LE) | 337 | #define AUDIT_ARCH_MIPSEL (EM_MIPS|__AUDIT_ARCH_LE) |
338 | #define AUDIT_ARCH_MIPS64 (EM_MIPS|__AUDIT_ARCH_64BIT) | 338 | #define AUDIT_ARCH_MIPS64 (EM_MIPS|__AUDIT_ARCH_64BIT) |
339 | #define AUDIT_ARCH_MIPSEL64 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) | 339 | #define AUDIT_ARCH_MIPSEL64 (EM_MIPS|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE) |
340 | #define AUDIT_ARCH_OPENRISC (EM_OPENRISC) | ||
340 | #define AUDIT_ARCH_PARISC (EM_PARISC) | 341 | #define AUDIT_ARCH_PARISC (EM_PARISC) |
341 | #define AUDIT_ARCH_PARISC64 (EM_PARISC|__AUDIT_ARCH_64BIT) | 342 | #define AUDIT_ARCH_PARISC64 (EM_PARISC|__AUDIT_ARCH_64BIT) |
342 | #define AUDIT_ARCH_PPC (EM_PPC) | 343 | #define AUDIT_ARCH_PPC (EM_PPC) |