[PATCH 1/7] um: Define PTRACE_OLDSETOPTIONS

From: Richard Weinberger
Date: Mon Oct 26 2015 - 05:48:34 EST


...such that processes within UML can do a ptrace(PTRACE_OLDSETOPTIONS, ...)

Signed-off-by: Richard Weinberger <richard@xxxxxx>
---
arch/um/include/asm/ptrace-generic.h | 2 ++
1 file changed, 2 insertions(+)

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,
--
1.8.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/