android_kernel_google_msm/fs/ext3
Eric W. Biederman 9a183cbdb0 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.

Change-Id: I7c2b18f16ec9d7ded49135cedc2e91a71e078087
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>
2020-12-07 21:02:21 +03:00
..
acl.c userns: Pass a userns parameter into posix_acl_to_xattr and posix_acl_from_xattr 2020-12-07 21:02:21 +03:00
acl.h fs: take the ACL checks to common code 2011-07-25 14:30:23 -04:00
balloc.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
bitmap.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
dir.c ext3: return 32/64-bit dir name hash according to usage type 2013-11-04 04:23:42 -08:00
ext3.h ext3: return 32/64-bit dir name hash according to usage type 2013-11-04 04:23:42 -08:00
ext3_jbd.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
file.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
fsync.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
hash.c ext3: return 32/64-bit dir name hash according to usage type 2013-11-04 04:23:42 -08:00
ialloc.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
inode.c ext3: fix data=journal fast mount/umount hang 2013-07-28 16:25:40 -07:00
ioctl.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
Kconfig
Makefile
namei.c ext[34]: fix double put in tmpfile 2018-12-07 22:28:48 +04:00
namei.h
resize.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
super.c fs: push sync_filesystem() down to the file system's remount_fs() 2020-11-29 16:11:45 +03:00
symlink.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr.h
xattr_security.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr_trusted.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00
xattr_user.c ext3: move headers to fs/ext3/ 2012-03-31 16:03:16 -04:00