standards/188173: O_NOFOLLOW visibility not POSIX 2008 conforming
chneukirchen at gmail.com
Sun Apr 6 14:11:54 UTC 2014
Konstantin Belousov <kostikbel at gmail.com> writes:
> On Tue, Apr 01, 2014 at 03:31:31PM +0000, Christian Neukirchen wrote:
>> Adjust the condition in /usr/include/sys/fcntl.h to use
>> _POSIX_C_SOURCE >= 200809
>> #if __BSD_VISIBLE
>> #define O_NOFOLLOW 0x0100 /* don't follow symlinks */
> Thank you for noting this. Still, I want to formally request your
> confirmation that the following patch works for you. I only have 1003.1,
> 2013 access right now.
Yes, this fixes the O_NOFOLLOW problem.
Christian Neukirchen <chneukirchen at gmail.com> http://chneukirchen.org
More information about the freebsd-standards