diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-23 03:45:42 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-23 04:31:05 (GMT) |
commit | 9b40bc90abd126bcc5da5658059b8e72e285e559 (patch) | |
tree | b360cf7d9cf1f7e29f5f6b9c0193fbd1a75334a6 /fs/file_table.c | |
parent | 3a142ed962958d3063f648738a3384ab90017100 (diff) | |
download | linux-fsl-qoriq-9b40bc90abd126bcc5da5658059b8e72e285e559.tar.xz |
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 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions