linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] um: Define PTRACE_OLDSETOPTIONS
@ 2015-10-26  9:48 Richard Weinberger
  2015-10-26  9:48 ` [uml-devel] [PATCH 2/7] um: Store syscall number after syscall_trace_enter() Richard Weinberger
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Richard Weinberger @ 2015-10-26  9:48 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: linux-kernel, Richard Weinberger

...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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-26  9:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-26  9:48 [PATCH 1/7] um: Define PTRACE_OLDSETOPTIONS Richard Weinberger
2015-10-26  9:48 ` [uml-devel] [PATCH 2/7] um: Store syscall number after syscall_trace_enter() Richard Weinberger
2015-10-26  9:48 ` [uml-devel] [PATCH 3/7] um: Get rid of open coded NR_SYSCALLS Richard Weinberger
2015-10-26  9:48 ` [uml-devel] [PATCH 4/7] um: Remove dead code from x86_64 syscall stub Richard Weinberger
2015-10-26  9:48 ` [uml-devel] [PATCH 5/7] " Richard Weinberger
2015-10-26  9:48 ` [uml-devel] [PATCH 6/7] um: Simplify STUB_DATA loading Richard Weinberger
2015-10-26  9:48 ` [uml-devel] [PATCH 7/7] um: Report host OOM more nicely Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).