]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ptrace.h
[PATCH] remove CONFIG_KOBJECT_UEVENT option
[linux-2.6-omap-h63xx.git] / include / linux / ptrace.h
index a373fc254df29431c52c2a879a67e766d9e3133c..b2b3dba1298d1fef7f1b4e4ecfba22fe142c88d2 100644 (file)
@@ -20,6 +20,8 @@
 #define PTRACE_DETACH          0x11
 
 #define PTRACE_SYSCALL           24
+#define PTRACE_SYSEMU            31
+#define PTRACE_SYSEMU_SINGLESTEP  32
 
 /* 0x4200-0x4300 are reserved for architecture-independent additions.  */
 #define PTRACE_SETOPTIONS      0x4200
@@ -76,6 +78,8 @@
 #include <linux/compiler.h>            /* For unlikely.  */
 #include <linux/sched.h>               /* For struct task_struct.  */
 
+
+extern long arch_ptrace(struct task_struct *child, long request, long addr, long data);
 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len);
 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len);
 extern int ptrace_attach(struct task_struct *tsk);
@@ -88,6 +92,7 @@ extern void __ptrace_link(struct task_struct *child,
                          struct task_struct *new_parent);
 extern void __ptrace_unlink(struct task_struct *child);
 extern void ptrace_untrace(struct task_struct *child);
+extern int ptrace_may_attach(struct task_struct *task);
 
 static inline void ptrace_link(struct task_struct *child,
                               struct task_struct *new_parent)