linux-stable/fs/nfs
Christian Brauner 4f704d9a83
nfs: use vfs setgid helper
We've aligned setgid behavior over multiple kernel releases. The details
can be found in the following two merge messages:
cf619f8919 ("Merge tag 'fs.ovl.setgid.v6.2')
426b4ca2d6 ("Merge tag 'fs.setgid.v6.0')
Consistent setgid stripping behavior is now encapsulated in the
setattr_should_drop_sgid() helper which is used by all filesystems that
strip setgid bits outside of vfs proper. Switch nfs to rely on this
helper as well. Without this patch the setgid stripping tests in
xfstests will fail.

Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Message-Id: <20230313-fs-nfs-setgid-v2-1-9a59f436cfc0@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2023-03-30 08:51:48 +02:00
..
blocklayout
filelayout pNFS/filelayout: treat GETDEVICEINFO errors as layout failure 2023-02-15 11:07:54 -05:00
flexfilelayout
cache_lib.c
cache_lib.h
callback_proc.c
callback_xdr.c SUNRPC: Use per-CPU counters to tally server RPC counts 2023-02-20 09:20:32 -05:00
callback.c
callback.h
client.c
delegation.c
delegation.h
dir.c NFS Client Updates for Linux 6.3 2023-02-22 14:47:20 -08:00
direct.c NFS: Clean up O_DIRECT request allocation 2023-02-14 14:22:33 -05:00
dns_resolve.c
dns_resolve.h
export.c NFSD 6.3 Release Notes 2023-02-22 14:21:40 -08:00
file.c NFS Client Updates for Linux 6.3 2023-02-22 14:47:20 -08:00
fs_context.c
fscache.c nfs: use bvec_set_page to initialize bvecs 2023-02-03 10:17:42 -07:00
fscache.h
getroot.c
inode.c nfs: use vfs setgid helper 2023-03-30 08:51:48 +02:00
internal.h NFS Client Updates for Linux 6.3 2023-02-22 14:47:20 -08:00
io.c
iostat.h
Kconfig Revert "NFSv4.2: Change the default KConfig value for READ_PLUS" 2023-02-17 09:07:19 -05:00
Makefile
mount_clnt.c
namespace.c fs: port ->getattr() to pass mnt_idmap 2023-01-19 09:24:25 +01:00
netns.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
nfs3acl.c fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
nfs3client.c
nfs3proc.c
nfs3super.c
nfs3xdr.c
nfs4_fs.h filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
nfs4client.c
nfs4file.c
nfs4getroot.c
nfs4idmap.c
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFS Client Updates for Linux 6.3 2023-02-22 14:47:20 -08:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs4state.c
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h nfs4trace: fix state manager flag printing 2023-02-14 15:43:57 -05:00
nfs4xdr.c
nfs42.h
nfs42proc.c nfs42: do not fail with EIO if ssc returns NFS4ERR_OFFLOAD_DENIED 2023-02-15 10:42:51 -05:00
nfs42xattr.c
nfs42xdr.c
nfs.h
nfsroot.c
nfstrace.c
nfstrace.h NFS: Improve tracing of nfs_wb_folio() 2023-02-14 14:22:33 -05:00
pagelist.c NFS Client Updates for Linux 6.3 2023-02-22 14:47:20 -08:00
pnfs_dev.c
pnfs_nfs.c NFS: Convert buffered writes to use folios 2023-02-14 14:22:32 -05:00
pnfs.c pNFS/filelayout: treat GETDEVICEINFO errors as layout failure 2023-02-15 11:07:54 -05:00
pnfs.h NFS: Convert buffered writes to use folios 2023-02-14 14:22:32 -05:00
proc.c
read.c NFS: Remove unnecessary check in nfs_read_folio() 2023-02-14 14:22:33 -05:00
super.c fs_context: drop the unused lsm_flags member 2023-03-16 14:38:28 +01:00
symlink.c
sysctl.c
sysfs.c
sysfs.h
unlink.c
write.c - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00