diff options
author | Nicolas Pitre <nico@cam.org> | 2006-01-14 20:30:04 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-14 20:30:04 +0100 |
commit | 3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f (patch) | |
tree | 3f7567343a892d02e758bcd1c07557af43d5aa1b /include | |
parent | [ARM] 3112/1: old ABI compat: config option to turn it on (diff) | |
download | linux-3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f.tar.xz linux-3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f.zip |
[ARM] 3262/4: allow ptraced syscalls to be overriden
Patch from Nicolas Pitre
This is needed by strace to properly handle the tracing of some system
calls. It could be useful for other applications as well.
Based on an earlier patch from Daniel Jacobowitz.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Daniel Jacobowitz <dan@debian.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/ptrace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/ptrace.h b/include/asm-arm/ptrace.h index f40948d54448..77adb7fa169b 100644 --- a/include/asm-arm/ptrace.h +++ b/include/asm-arm/ptrace.h @@ -23,6 +23,9 @@ #define PTRACE_OLDSETOPTIONS 21 #define PTRACE_GET_THREAD_AREA 22 + +#define PTRACE_SET_SYSCALL 23 + /* * PSR bits */ |