linux-stable/fs/overlayfs
Amir Goldstein 6618b0dcf2 ovl: remove privs in ovl_fallocate()
commit 23a8ce1641 upstream.

Underlying fs doesn't remove privs because fallocate is called with
privileged mounter credentials.

This fixes some failure in fstests generic/683..687.

Fixes: aab8848cee ("ovl: add ovl_fallocate()")
Acked-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-22 12:55:55 +01:00
..
copy_up.c ovl: fix missing revert_creds() on error path 2021-05-14 09:50:05 +02:00
dir.c ovl: Use ovl mounter's fsuid and fsgid in ovl_link() 2023-01-14 10:16:26 +01:00
export.c ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh() 2022-08-21 15:15:23 +02:00
file.c ovl: remove privs in ovl_fallocate() 2023-02-22 12:55:55 +01:00
inode.c ovl: perform vfs_getxattr() with mounter creds 2021-02-17 11:02:22 +01:00
Kconfig
Makefile
namei.c new helper: inode_wrong_type() 2021-09-08 08:49:01 +02:00
overlayfs.h ovl: fix warning in ovl_create_real() 2021-12-22 09:30:58 +01:00
ovl_entry.h
readdir.c ovl: invalidate readdir cache on changes to dir with origin 2021-05-14 09:50:35 +02:00
super.c ovl: fix use inode directly in rcu-walk mode 2023-01-14 10:16:24 +01:00
util.c ovl: invalidate readdir cache on changes to dir with origin 2021-05-14 09:50:35 +02:00