vfs_acl_common: add an fsp extension when setting ACL
authorRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 14:37:02 +0000 (15:37 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 17 Dec 2020 18:56:29 +0000 (18:56 +0000)
commite6b0797caff1e292cec3bee245ee63e58702efb8
tree65062377fe1230fe730ed6668144d49b5759b40e
parent498831cf66b77cad77cceebce0bfd9b00dd5c572
vfs_acl_common: add an fsp extension when setting ACL

This allows the module checking for the fsp extension variable setting_nt_acl
and will be used in the module functions for .sys_acl_set_fd_fn (so
sys_acl_set_fd_xattr() and sys_acl_set_fd_tdb()).

This depends on the previous code changes, so
won't be back ported. But for reference the
bug id is below.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_acl_common.c
source3/modules/vfs_acl_common.h