diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-10-13 23:02:28 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-11-19 04:23:00 +0300 |
commit | 6640556b0c80edc66d6f50abe53f00311a873536 (patch) | |
tree | e132663bd4c15238fbbcfb06f0de952e81eff1cd /scripts/gdb/linux/utils.py | |
parent | ed9887b876c957c9c9a0486cf0edf7c964e99cb9 (diff) | |
download | linux-6640556b0c80edc66d6f50abe53f00311a873536.tar.xz |
NFSD: Replace use of NFSD_MAY_LOCK in nfsd4_lock()
NFSv4 LOCK operations should not avoid the set of authorization
checks that apply to all other NFSv4 operations. Also, the
"no_auth_nlm" export option should apply only to NLM LOCK requests.
It's not necessary or sensible to apply it to NFSv4 LOCK operations.
Instead, set no permission bits when calling fh_verify(). Subsequent
stateid processing handles authorization checks.
Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions