WSL2-Linux-Kernel/fs/overlayfs
Amir Goldstein be4df0cea0 ovl: use generic vfs_ioc_setflags_prepare() helper
Canonalize to ioctl FS_* flags instead of inode S_* flags.

Note that we do not call the helper vfs_ioc_fssetxattr_check()
for FS_IOC_FSSETXATTR ioctl. The reason is that underlying filesystem
will perform all the checks. We only need to perform the capability
check before overriding credentials.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2020-10-06 15:38:15 +02:00
..
Kconfig docs: fix broken references to text files 2020-04-20 15:35:59 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
copy_up.c ovl: pass ovl_fs down to functions accessing private xattrs 2020-09-02 10:58:49 +02:00
dir.c ovl: pass ovl_fs down to functions accessing private xattrs 2020-09-02 10:58:49 +02:00
export.c ovl: pass ovl_fs down to functions accessing private xattrs 2020-09-02 10:58:49 +02:00
file.c ovl: use generic vfs_ioc_setflags_prepare() helper 2020-10-06 15:38:15 +02:00
inode.c ovl: rearrange ovl_can_list() 2020-09-02 10:58:49 +02:00
namei.c ovl: enumerate private xattrs 2020-09-02 10:58:49 +02:00
overlayfs.h ovl: support [S|G]ETFLAGS and FS[S|G]ETXATTR ioctls for directories 2020-10-06 15:38:14 +02:00
ovl_entry.h ovl: provide a mount option "volatile" 2020-09-02 10:58:48 +02:00
readdir.c ovl: support [S|G]ETFLAGS and FS[S|G]ETXATTR ioctls for directories 2020-10-06 15:38:14 +02:00
super.c ovl: pass ovl_fs down to functions accessing private xattrs 2020-09-02 10:58:49 +02:00
util.c ovl: enumerate private xattrs 2020-09-02 10:58:49 +02:00