Commit 1f59d13b authored by Will Drewry's avatar Will Drewry Committed by Russell King
Browse files

ARM: 7577/1: arch/add syscall_get_arch

Provide an ARM implementation of syscall_get_arch. This is a pre-requisite
Signed-off-by: default avatarWill Drewry <>
Signed-off-by: default avatarKees Cook <>
Reviewed-by: default avatarWill Deacon <>
Signed-off-by: default avatarRussell King <>
parent 9ecb47de
......@@ -7,6 +7,8 @@
#include <linux/audit.h> /* for AUDIT_ARCH_* */
#include <linux/elf.h> /* for ELF_EM */
#include <linux/err.h>
#include <linux/sched.h>
......@@ -95,4 +97,11 @@ static inline void syscall_set_arguments(struct task_struct *task,
memcpy(&regs->ARM_r0 + i, args, n * sizeof(args[0]));
static inline int syscall_get_arch(struct task_struct *task,
struct pt_regs *regs)
/* ARM tasks don't change audit architectures on the fly. */
#endif /* _ASM_ARM_SYSCALL_H */
Markdown is supported
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