[Bug 211333] Inconsistent exposure of unlinkat and AT_REMOVEDIR
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 24 14:32:28 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211333
Jilles Tjoelker <jilles at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Closed
CC| |jilles at FreeBSD.org
Resolution|--- |FIXED
Assignee|freebsd-bugs at FreeBSD.org |jilles at FreeBSD.org
--- Comment #1 from Jilles Tjoelker <jilles at FreeBSD.org> ---
Applications are not supposed to define __BSD_VISIBLE and whenever
<sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and
__XSI_VISIBLE to the newest version supported. Therefore, the correct fix is to
remove the || __BSD_VISIBLE part in that line in include/unistd.h. I did this
in 11-current in SVN r265878 but do not plan to MFC it.
Note that it is still possible to have __POSIX_VISIBLE or __XSI_VISIBLE in the
same #if as __BSD_VISIBLE if the feature was deprecated by POSIX and is
therefore only available in older POSIX versions but should still be available
in the default compilation environment.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list