aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-01-14 19:30:04 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-14 19:30:04 +0000
commit3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f (patch)
tree3f7567343a892d02e758bcd1c07557af43d5aa1b /include
parent6c90c872017773cde70a51432cb28f253451b967 (diff)
[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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/ptrace.h b/include/asm-arm/ptrace.h
index f40948d5444..77adb7fa169 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
*/