summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-05 15:20:06 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:29 +0900
commite5f42cb7577221080e4db0498d71e6db7e67f1a5 (patch)
treeeef730fd76b87eea7b3fd5060020eec02470cc8e /tools/perf/scripts/python/bin
parentcc2f133e80eb2c4a04bfa77a2f207749fe2f516a (diff)
ksmbd: support access-based directory enumeration
SMB shares can advertise access-based directory enumeration. ksmbd does not currently provide a share option or filter inaccessible directory entries. Add a hide-unreadable share flag and advertise SMB2_SHAREFLAG_ACCESS_BASED_DIRECTORY_ENUM when it is enabled. During QUERY_DIRECTORY, omit entries unless the connected user has FILE_READ_DATA, FILE_READ_EA, and FILE_READ_ATTRIBUTES access according to the Windows ACL. Keep the existing implicit access allowances for normal CREATE permission checks while using strict access-mask matching for directory enumeration. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions