projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CHROMIUM: security: Yama: add link restrictions
[cascardo/linux.git]
/
kernel
/
pid.c
diff --git
a/kernel/pid.c
b/kernel/pid.c
index
3f198bc
..
0c2a01a
100644
(file)
--- a/
kernel/pid.c
+++ b/
kernel/pid.c
@@
-80,6
+80,8
@@
struct pid_namespace init_pid_ns = {
.child_reaper = &init_task,
#ifdef CONFIG_SECURITY_YAMA
.ptrace_scope = 1,
+ .protected_sticky_symlinks = 1,
+ .protected_nonaccess_hardlinks = 1,
#endif
};
EXPORT_SYMBOL_GPL(init_pid_ns);