Displaying 3 results from an estimated 3 matches for "acl_xx_fd".
2023 May 30
2
O_PATH, FreeBSD & acl_xx_fd
I?ve been looking at an issue when compiling Samba on FreeBSD 13 with the vfs_zfsacl module.
It seems the logic that detect O_PATH support in Samba doesn?t work right with FreeBSD 13 (since it has implemented O_PATH support) and especially with the acl_get_fd() function. This is a bug (or rather a missing feature) in FreeBSD that there is a patch for now (dunno when it?ll appear in a release
2023 May 30
1
O_PATH, FreeBSD & acl_xx_fd
On Tue, May 30, 2023 at 09:57:37AM +0200, Peter Eriksson via samba wrote:
>I?ve been looking at an issue when compiling Samba on FreeBSD 13 with the vfs_zfsacl module.
>
>It seems the logic that detect O_PATH support in Samba doesn?t work right with FreeBSD 13 (since it has implemented O_PATH support) and especially with the acl_get_fd() function. This is a bug (or rather a missing
2023 May 30
1
O_PATH, FreeBSD & acl_xx_fd
Urgh?
I modified the FreeBSD kernel to allow all_xx_fd() calls on O_PATH descriptors and that seems make vfs_zfsacl to work fine. Not 100% tested but I could atleast view and modify the ACL on some stuff from a Windows client via Samba that way.
I?m not sure I?ll be able to get them to implement this ?officially? though. Reading ACLs via an O_PATH-opened descriptor seems to be on the way of