diff options
author | Richard Weinberger <richard@nod.at> | 2015-10-25 10:44:05 (GMT) |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-11-06 21:49:09 (GMT) |
commit | 44011b897adf4be7a5bd7f2baf2ffec9cd87ec74 (patch) | |
tree | 4745f9327d2042062c961f75f39d3b75505737db /arch | |
parent | 6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff) | |
download | linux-44011b897adf4be7a5bd7f2baf2ffec9cd87ec74.tar.xz |
um: Define PTRACE_OLDSETOPTIONS
...such that processes within UML can do a ptrace(PTRACE_OLDSETOPTIONS, ...)
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/include/asm/ptrace-generic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h index 2966adb..5ab2062 100644 --- a/arch/um/include/asm/ptrace-generic.h +++ b/arch/um/include/asm/ptrace-generic.h @@ -27,6 +27,8 @@ struct pt_regs { #define instruction_pointer(regs) PT_REGS_IP(regs) +#define PTRACE_OLDSETOPTIONS 21 + struct task_struct; extern long subarch_ptrace(struct task_struct *child, long request, |