lkml.org 
[lkml]   [2015]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/7] um: Define PTRACE_OLDSETOPTIONS
Date
...such that processes within UML can do a ptrace(PTRACE_OLDSETOPTIONS, ...)

Signed-off-by: Richard Weinberger <richard@nod.at>
---
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


\
 
 \ /
  Last update: 2015-10-26 11:01    [W:0.034 / U:1.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site