linux-stable/fs/nfs
Trond Myklebust 3b7eb5e35d NFS: When mounting, don't share filesystems between different user namespaces
If two different containers that share the same network namespace attempt
to mount the same filesystem, we should not allow them to share the same
super block if they do not share the same user namespace, since the
user mappings on the wire will need to differ.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-04-26 17:39:42 -04:00
..
blocklayout NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. 2018-12-19 13:52:46 -05:00
filelayout NFS: Add a helper to return a pointer to the open context of a struct nfs_page 2019-04-25 14:18:15 -04:00
flexfilelayout NFS: Add a helper to return a pointer to the open context of a struct nfs_page 2019-04-25 14:18:15 -04:00
cache_lib.c
cache_lib.h
callback.c nfs: fixed broken compilation in nfs_callback_up_net() 2018-12-31 11:25:16 -05:00
callback.h NFS CB_OFFLOAD xdr 2018-08-09 12:56:38 -04:00
callback_proc.c NFSv4.2 copy do not allocate memory under the lock 2018-11-22 13:54:46 -05:00
callback_xdr.c NFS: Remove print_overflow_msg() 2019-02-13 11:53:45 -05:00
client.c NFS: Store the credential of the mount process in the nfs_server 2019-04-26 16:11:54 -04:00
delegation.c NFS: Fix a soft lockup in the delegation recovery code 2019-02-21 14:51:25 -05:00
delegation.h NFS: Fix a soft lockup in the delegation recovery code 2019-02-21 14:51:25 -05:00
dir.c NFS: Fix typo in comments of nfs_readdir_alloc_pages() 2019-02-20 17:33:55 -05:00
direct.c pNFS: Add tracking to limit the number of pNFS retries 2019-04-25 14:18:14 -04:00
dns_resolve.c NFS: Fix up a typo in nfs_dns_ent_put 2018-10-29 16:58:04 -04:00
dns_resolve.h
export.c NFS: Pass the inode down to the getattr() callback 2018-06-04 12:07:07 -04:00
file.c NFS: Replace custom error reporting mechanism with generic one 2019-04-25 14:18:14 -04:00
fscache-index.c vfs: change inode times to use struct timespec64 2018-06-05 16:57:31 -07:00
fscache.c vfs: change inode times to use struct timespec64 2018-06-05 16:57:31 -07:00
fscache.h fscache: Pass object size in rather than calling back for it 2018-04-06 14:05:14 +01:00
getroot.c
inode.c NFS: Ensure that all nfs lock contexts have a valid open context 2019-04-25 14:18:15 -04:00
internal.h NFS: Store the credential of the mount process in the nfs_server 2019-04-26 16:11:54 -04:00
io.c NFS: Fix up documentation warnings 2019-02-20 15:14:21 -05:00
iostat.h
Kconfig
Makefile
mount_clnt.c SUNRPC: Cache cred of process creating the rpc_client 2019-04-26 16:00:48 -04:00
namespace.c NFS: Fix up documentation warnings 2019-02-20 15:14:21 -05:00
netns.h
nfs.h
nfs2super.c
nfs2xdr.c NFS: Convert NFSv2 to use the container user namespace 2019-04-26 17:26:37 -04:00
nfs3_fs.h
nfs3acl.c nfs: fix xfstest generic/099 failed on nfsv3 2019-02-20 17:33:55 -05:00
nfs3client.c NFS: Store the credential of the mount process in the nfs_server 2019-04-26 16:11:54 -04:00
nfs3proc.c NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. 2018-12-19 13:52:46 -05:00
nfs3super.c
nfs3xdr.c NFS: Convert NFSv3 to use the container user namespace 2019-04-26 16:54:27 -04:00
nfs4_fs.h NFS: Allow signal interruption of NFS4ERR_DELAYed operations 2019-04-25 14:18:14 -04:00
nfs4client.c NFS: Store the credential of the mount process in the nfs_server 2019-04-26 16:11:54 -04:00
nfs4file.c Fix nfs4.2 return -EINVAL when do dedupe operation 2019-04-25 14:18:15 -04:00
nfs4getroot.c
nfs4idmap.c NFSv4: Convert the NFS client idmapper to use the container user namespace 2019-04-26 17:10:53 -04:00
nfs4idmap.h
nfs4namespace.c NFS: Fix up documentation warnings 2019-02-20 15:14:21 -05:00
nfs4proc.c NFS: Allow signal interruption of NFS4ERR_DELAYed operations 2019-04-25 14:18:14 -04:00
nfs4renewd.c NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. 2018-12-19 13:52:46 -05:00
nfs4session.c NFSv4.1: Avoid false retries when RPC calls are interrupted 2019-02-21 13:22:43 -05:00
nfs4session.h NFSv4.1: Bump the default callback session slot count to 16 2019-03-02 16:25:26 -05:00
nfs4state.c NFS: Fix up documentation warnings 2019-02-20 15:14:21 -05:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h NFS: Add trace events to report non-zero NFS status codes 2019-02-13 12:03:21 -05:00
nfs4xdr.c NFS: Fix handling of reply page vector 2019-04-11 15:23:48 -04:00
nfs42.h NFSv4.2: Add client support for the generic 'layouterror' RPC call 2019-03-01 16:20:16 -05:00
nfs42proc.c NFSv4.1 fix incorrect return value in copy_file_range 2019-04-11 15:23:48 -04:00
nfs42xdr.c NFSv4.2: Add client support for the generic 'layouterror' RPC call 2019-03-01 16:20:16 -05:00
nfsroot.c
nfstrace.c NFS: Add trace events to report non-zero NFS status codes 2019-02-13 12:03:21 -05:00
nfstrace.h NFS: Add trace events to report non-zero NFS status codes 2019-02-13 12:03:21 -05:00
pagelist.c NFS: Remove redundant open context from nfs_page 2019-04-25 14:18:15 -04:00
pnfs.c NFS: Add a helper to return a pointer to the open context of a struct nfs_page 2019-04-25 14:18:15 -04:00
pnfs.h NFS: Add a helper to return a pointer to the open context of a struct nfs_page 2019-04-25 14:18:15 -04:00
pnfs_dev.c NFS/flexfiles: Speed up read failover when DSes are down 2019-03-01 22:37:38 -05:00
pnfs_nfs.c NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. 2018-12-19 13:52:46 -05:00
proc.c NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. 2018-12-19 13:52:46 -05:00
read.c NFS: Add a helper to return a pointer to the open context of a struct nfs_page 2019-04-25 14:18:15 -04:00
super.c NFS: When mounting, don't share filesystems between different user namespaces 2019-04-26 17:39:42 -04:00
symlink.c
sysctl.c
unlink.c NFS: Fix up documentation warnings 2019-02-20 15:14:21 -05:00
write.c NFS: Add a helper to return a pointer to the open context of a struct nfs_page 2019-04-25 14:18:15 -04:00