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)
committerRalph Boehme <slow@samba.org>
Mon, 8 Jan 2024 15:53:36 +0000 (15:53 +0000)
commit96b577c380fa914eb1ffa95849c82bdb88aa1ec6
tree496ae8e0786abe8c2104ece37dc9ff162d53e66e
parent76c8fe16bff36a29fa326355256b50737d04bd85
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>
source3/smbd/proto.h
source3/smbd/smb2_ioctl_filesys.c
source3/smbd/smb2_trans2.c