diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-06-04 17:43:11 +0300 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2015-07-10 18:41:13 +0300 |
commit | 77b1a97d218277d55a15016826d1fd79290f1df2 (patch) | |
tree | 0b973e720d2b550196010a683a19eb21f77a3d22 /.mailmap | |
parent | 90f8572b0f021fdd1baa68e00a8c30482ee9e5f4 (diff) | |
download | linux-77b1a97d218277d55a15016826d1fd79290f1df2.tar.xz |
mnt: fs_fully_visible enforce noexec and nosuid if !SB_I_NOEXEC
The filesystems proc and sysfs do not have executable files do not
have exectuable files today and portions of userspace break if we do
enforce nosuid and noexec consistency of nosuid and noexec flags
between previous mounts and new mounts of proc and sysfs.
Add the code to enforce consistency of the nosuid and noexec flags,
and use the presence of SB_I_NOEXEC to signal that there is no need to
bother.
This results in a completely userspace invisible change that makes it
clear fs_fully_visible can only skip the enforcement of noexec and
nosuid because it is known the filesystems in question do not support
executables.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions