1
linux/fs/nfsd
Eric W. Biederman 5f3a4a28ec userns: Pass a userns parameter into posix_acl_to_xattr and posix_acl_from_xattr
- Pass the user namespace the uid and gid values in the xattr are stored
   in into posix_acl_from_xattr.

 - Pass the user namespace kuid and kgid values should be converted into
   when storing uid and gid values in an xattr in posix_acl_to_xattr.

- Modify all callers of posix_acl_from_xattr and posix_acl_to_xattr to
  pass in &init_user_ns.

In the short term this change is not strictly needed but it makes the
code clearer.  In the longer term this change is necessary to be able to
mount filesystems outside of the initial user namespace that natively
store posix acls in the linux xattr format.

Cc: Theodore Tso <tytso@mit.edu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: Jan Kara <jack@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2012-09-18 01:01:35 -07:00
..
acl.h
auth.c Merge branch 'for-3.5' of git://linux-nfs.org/~bfields/linux 2012-06-01 08:32:58 -07:00
auth.h
cache.h
current_stateid.h
export.c SUNRPC: service request network namespace helper introduced 2012-07-27 16:49:21 -04:00
fault_inject.c nfsd: return 0 on reads of fault injection files 2012-05-31 20:29:48 -04:00
fault_inject.h
idmap.h
Kconfig
lockd.c
Makefile
netns.h NFSd: make boot_time variable per network namespace 2012-07-27 16:49:22 -04:00
nfs2acl.c
nfs3acl.c
nfs3proc.c
nfs3xdr.c nfsd: fix compose_entry_fh() failure exits 2012-04-13 10:12:02 -04:00
nfs4acl.c
nfs4callback.c nfsd4: remove unnecessary comment 2012-06-20 08:59:41 -04:00
nfs4idmap.c SUNRPC: service request network namespace helper introduced 2012-07-27 16:49:21 -04:00
nfs4proc.c LockD: pass actual network namespace to grace period management functions 2012-07-27 16:49:22 -04:00
nfs4recover.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfs4state.c NFSd: make boot_time variable per network namespace 2012-07-27 16:49:22 -04:00
nfs4xdr.c nfsd4: our filesystems are normally case sensitive 2012-07-10 15:20:57 -04:00
nfscache.c
nfsctl.c NFSd: introduce nfsd_destroy() helper 2012-07-25 09:21:30 -04:00
nfsd.h NFSd: set nfsd_serv to NULL after service destruction 2012-07-25 09:21:31 -04:00
nfsfh.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfsfh.h
nfsproc.c nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
nfssvc.c NFSd: set nfsd_serv to NULL after service destruction 2012-07-25 09:21:31 -04:00
nfsxdr.c
state.h NFSd: make boot_time variable per network namespace 2012-07-27 16:49:22 -04:00
stats.c
vfs.c userns: Pass a userns parameter into posix_acl_to_xattr and posix_acl_from_xattr 2012-09-18 01:01:35 -07:00
vfs.h nfsd: Push mnt_want_write() outside of i_mutex 2012-07-31 01:02:51 +04:00
xdr3.h
xdr4.h nfsd4: int/__be32 fixes 2012-05-31 20:29:37 -04:00
xdr.h