Summary: | Implement the AT_EMPTY_PATH race free Linux extension | ||
---|---|---|---|
Product: | Base System | Reporter: | Niall Douglas <s_bugzilla> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | crest, crest, emaste, trasz, val |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197695 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198570 |
||
Bug Depends on: | |||
Bug Blocks: | 247219 |
Description
Niall Douglas
2015-02-18 02:07:57 UTC
FWIW, this might be what's breaking "debootstrap sid". This flag is used in https://github.com/flatpak/xdg-desktop-portal 's document-portal, for fstatat in combination with AT_SYMLINK_NOFOLLOW, which seems to be "fstat the symlink". Since we do not have O_PATH, we can't get the same symlink handling as Linux at all, so this call in particular wouldn't be useful without O_PATH. AT_EMPTY_PATH was committed by kib@ in 509124b6261 and 5e7cdf18179; O_PATH in 8d9ed174f3a. |