Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
tile
/
kernel
/
ptrace.c
diff --git
a/kernel/arch/tile/kernel/ptrace.c
b/kernel/arch/tile/kernel/ptrace.c
index
f84eed8
..
bdc126f
100644
(file)
--- a/
kernel/arch/tile/kernel/ptrace.c
+++ b/
kernel/arch/tile/kernel/ptrace.c
@@
-262,6
+262,9
@@
int do_syscall_trace_enter(struct pt_regs *regs)
if (work & _TIF_NOHZ)
user_exit();
+ if (secure_computing() == -1)
+ return -1;
+
if (work & _TIF_SYSCALL_TRACE) {
if (tracehook_report_syscall_entry(regs))
regs->regs[TREG_SYSCALL_NR] = -1;