smbd: use fsp_get_pathref_fd() for "internal" xattr functions
authorRalph Boehme <slow@samba.org>
Sun, 4 Oct 2020 12:48:48 +0000 (14:48 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 16 Dec 2020 09:08:30 +0000 (09:08 +0000)
commit5648662b2f2b91133d3ec8ece69a32955348fa23
tree9485013ccd0e8b50682d244f8cf81b9969208ac0
parentbc908ea3f2eb2284b625bc257264235cad0a7951
smbd: use fsp_get_pathref_fd() for "internal" xattr functions

We're using xattr data storage for internal reasons in these places, so in all
places it's safe to use a possibly root opened fd.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_acl_xattr.c
source3/modules/vfs_nfs4acl_xattr.c
source3/smbd/posix_acls.c