aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/auth_gss.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-02-22 22:45:42 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-22 23:31:05 -0500
commit9b40bc90abd126bcc5da5658059b8e72e285e559 (patch)
treeb360cf7d9cf1f7e29f5f6b9c0193fbd1a75334a6 /net/sunrpc/auth_gss/auth_gss.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal (diff)
downloadlinux-dev-9b40bc90abd126bcc5da5658059b8e72e285e559.tar.xz
linux-dev-9b40bc90abd126bcc5da5658059b8e72e285e559.zip
get rid of unprotected dereferencing of mnt->mnt_ns
It's safe only under namespace_sem or vfsmount_lock; all places in fs/namespace.c that want mnt->mnt_ns->user_ns actually want to use current->nsproxy->mnt_ns->user_ns (note the calls of check_mnt() in there). Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/sunrpc/auth_gss/auth_gss.c')
0 files changed, 0 insertions, 0 deletions