Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339513
b: refs/heads/master
c: 1f59d13
h: refs/heads/master
i:
  339511: 41e71b7
v: v3
  • Loading branch information
Will Drewry authored and Russell King committed Nov 19, 2012
1 parent 7ba7b96 commit c42501b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ecb47de3490b8f2d4b818568935da9ca2c22398
refs/heads/master: 1f59d13bee172945ccdfbc5018477ba94a0ac28e
9 changes: 9 additions & 0 deletions trunk/arch/arm/include/asm/syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef _ASM_ARM_SYSCALL_H
#define _ASM_ARM_SYSCALL_H

#include <linux/audit.h> /* for AUDIT_ARCH_* */
#include <linux/elf.h> /* for ELF_EM */
#include <linux/err.h>
#include <linux/sched.h>

Expand Down Expand Up @@ -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. */
return AUDIT_ARCH_ARM;
}

#endif /* _ASM_ARM_SYSCALL_H */

0 comments on commit c42501b

Please sign in to comment.