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
/
fs
/
proc
/
root.c
diff --git
a/kernel/fs/proc/root.c
b/kernel/fs/proc/root.c
index
68feb0f
..
361ab4e
100644
(file)
--- a/
kernel/fs/proc/root.c
+++ b/
kernel/fs/proc/root.c
@@
-134,6
+134,8
@@
static struct dentry *proc_mount(struct file_system_type *fs_type,
}
sb->s_flags |= MS_ACTIVE;
+ /* User space would break if executables appear on proc */
+ sb->s_iflags |= SB_I_NOEXEC;
}
return dget(sb->s_root);