]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nfsd: take xattr bits into account for permission checks
authorFrank van der Linden <fllinden@amazon.com>
Tue, 23 Jun 2020 22:39:24 +0000 (22:39 +0000)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 13 Jul 2020 21:27:03 +0000 (17:27 -0400)
commitc11d7fd1b3178cc651d532bab54adca7f26ae0d0
tree743949a36cdf549ca6aaf18e592def523157447e
parent32119446bb65da559eb6f05236086fe449d2a024
nfsd: take xattr bits into account for permission checks

Since the NFSv4.2 extended attributes extension defines 3 new access
bits for xattr operations, take them in to account when validating
what the client is asking for, and when checking permissions.

Signed-off-by: Frank van der Linden <fllinden@amazon.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4proc.c
fs/nfsd/vfs.c