git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HWPOISON: Add PR_MCE_KILL prctl to control early kill behaviour per process
[safe/jmp/linux-2.6]
/
kernel
/
ptrace.c
diff --git
a/kernel/ptrace.c
b/kernel/ptrace.c
index
082c320
..
307c285
100644
(file)
--- a/
kernel/ptrace.c
+++ b/
kernel/ptrace.c
@@
-152,7
+152,7
@@
int __ptrace_may_access(struct task_struct *task, unsigned int mode)
if (!dumpable && !capable(CAP_SYS_PTRACE))
return -EPERM;
- return security_ptrace_
may_access
(task, mode);
+ return security_ptrace_
access_check
(task, mode);
}
bool ptrace_may_access(struct task_struct *task, unsigned int mode)