From: Richard Weinberger Date: Sun, 25 Oct 2015 10:44:05 +0000 (+0100) Subject: um: Define PTRACE_OLDSETOPTIONS X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=44011b897adf4be7a5bd7f2baf2ffec9cd87ec74;p=linux-beck.git um: Define PTRACE_OLDSETOPTIONS ...such that processes within UML can do a ptrace(PTRACE_OLDSETOPTIONS, ...) Signed-off-by: Richard Weinberger --- diff --git a/arch/um/include/asm/ptrace-generic.h b/arch/um/include/asm/ptrace-generic.h index 2966adbbdf6c..5ab20620fc97 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,