summaryrefslogtreecommitdiffstats
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2016-06-09 22:44:48 +0200
committerEric W. Biederman <ebiederm@xmission.com>2016-06-23 22:47:31 +0200
commitcc50a07a247e17db76b1f0b0ca06652556e04fa3 (patch)
tree64060a2d84ef06285de1f1a13008899dec16a2dc /kernel/user_namespace.c
parentuserns: Remove implicit MNT_NODEV fragility. (diff)
downloadlinux-cc50a07a247e17db76b1f0b0ca06652556e04fa3.tar.xz
linux-cc50a07a247e17db76b1f0b0ca06652556e04fa3.zip
userns: Remove the now unnecessary FS_USERNS_DEV_MOUNT flag
Now that SB_I_NODEV controls the nodev behavior devpts can just clear this flag during mount. Simplifying the code and making it easier to audit how the code works. While still preserving the invariant that s_iflags is only modified during mount. Acked-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions