smbd: rename check_access_fsp() to check_any_access_fsp()
authorRalph Boehme <slow@samba.org>
Thu, 21 Dec 2023 09:58:09 +0000 (10:58 +0100)
committerJule Anger <janger@samba.org>
Tue, 16 Jan 2024 09:09:15 +0000 (09:09 +0000)
commitb775434b7eb1a08fff283e153817f3e0376c9af8
treea11c2ae5d3ce356f7014a9a0f231659e783eb947
parentd87294724e6066870346ff90b16c76fcfd294b9c
smbd: rename check_access_fsp() to check_any_access_fsp()

The semantics of the access check in check_access_fsp() itself is to
allow access if *at least* one or more rights of the rights in
access_mask are allowed. The name check_any_access_fsp() better
reflects this.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13688

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 96b577c380fa914eb1ffa95849c82bdb88aa1ec6)
source3/smbd/proto.h
source3/smbd/smb2_ioctl_filesys.c
source3/smbd/smb2_trans2.c