aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorAlexander Mikhalitsyn <[email protected]>2024-09-03 15:16:21 +0000
committerMiklos Szeredi <[email protected]>2024-09-04 14:51:11 +0000
commitd395d0a5d2544b639cd7b0055e4de85b0efc2762 (patch)
tree68adea354559a4f6481ef7db694b8bea67275437 /rust/helpers/mutex.c
parentfuse: drop idmap argument from __fuse_get_acl (diff)
downloadkernel-d395d0a5d2544b639cd7b0055e4de85b0efc2762.tar.gz
kernel-d395d0a5d2544b639cd7b0055e4de85b0efc2762.zip
fuse: support idmapped ->set_acl
It's just a matter of adjusting a permission check condition for S_ISGID flag. All the rest is already handled in the generic VFS code. Notice that this permission check is the analog of what we have in posix_acl_update_mode() generic helper, but fuse doesn't use this helper as on the kernel side we don't care about ensuring that POSIX ACL and CHMOD permissions are in sync as it is a responsibility of a userspace daemon to handle that. For the same reason we don't have a calls to posix_acl_chmod(), while most of other filesystem do. Signed-off-by: Alexander Mikhalitsyn <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions