search for: o_empty_path

Displaying 2 results from an estimated 2 matches for "o_empty_path".

Did you mean: at_empty_path
2023 May 30
1
O_PATH, FreeBSD & acl_xx_fd
...:-) Regarding that Linux hack - I wonder if on FreeBSD one might use this to do something similar: > A file descriptor created with the O_PATH flag can be opened into normal > (operable) file descriptor by specifying it as the fd argument to > openat() with empty path and flag O_EMPTY_PATH. Such an open behaves as > if the current path of the file referenced by fd is passed, except that > the path walk permissions are not checked. See also the description of > AT_EMPTY_PATH flag for fstatat(2) and related syscalls. Hmm? I?ll have to test it. Yes, this seems to...
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