projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UPSTREAM: staging: gdm72xx: use kzalloc to allocate usb_tx structure
[cascardo/linux.git]
/
kernel
/
ptrace.c
diff --git
a/kernel/ptrace.c
b/kernel/ptrace.c
index
ee8d49b
..
a51f76b
100644
(file)
--- a/
kernel/ptrace.c
+++ b/
kernel/ptrace.c
@@
-535,6
+535,9
@@
static int ptrace_setoptions(struct task_struct *child, unsigned long data)
flags |= (data << PT_OPT_FLAG_SHIFT);
child->ptrace = flags;
+ if (data & PTRACE_O_TRACESECCOMP)
+ child->ptrace |= PT_TRACE_SECCOMP;
+
return 0;
}