android_kernel_google_msm/fs/ext4
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
balloc.c
bitmap.c
block_validity.c
dir.c
ext4.h ext4: Add support for FIDTRIM, a best-effort ioctl for deep discard trim 2017-12-27 22:40:01 +03:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
extents.c ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp 2016-03-21 09:17:40 +08:00
file.c mm: kill vma flag VM_CAN_NONLINEAR 2020-11-29 16:11:40 +03:00
fsync.c move d_rcu from overlapping d_child to overlapping d_alias 2017-09-22 19:11:55 +03:00
hash.c
ialloc.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
indirect.c ext4: don't retry file block mapping on bigalloc fs with non-extent file 2015-10-22 09:20:05 +08:00
inode.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
ioctl.c ext4: Add support for FIDTRIM, a best-effort ioctl for deep discard trim 2017-12-27 22:40:01 +03:00
Kconfig
Makefile
mballoc.c ext4: Add support for FIDTRIM, a best-effort ioctl for deep discard trim 2017-12-27 22:40:01 +03:00
mballoc.h
migrate.c
mmp.c
move_extent.c
namei.c ext[34]: fix double put in tmpfile 2018-12-07 22:28:48 +04:00
page-io.c
resize.c Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03: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
truncate.h
xattr.c
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c