projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a13feb
)
um: Define PTRACE_OLDSETOPTIONS
author
Richard Weinberger
<richard@nod.at>
Sun, 25 Oct 2015 10:44:05 +0000
(11:44 +0100)
committer
Richard Weinberger
<richard@nod.at>
Fri, 6 Nov 2015 21:49:09 +0000
(22:49 +0100)
...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
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/include/asm/ptrace-generic.h
b/arch/um/include/asm/ptrace-generic.h
index 2966adbbdf6c954650c7327c77060c18deae797f..5ab20620fc977e7b1be8b2f5359c7012c89b8225 100644
(file)
--- 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,