standards/188173: O_NOFOLLOW visibility not POSIX 2008 conforming
chneukirchen at gmail.com
Sun Apr 6 14:20:01 UTC 2014
The following reply was made to PR standards/188173; it has been noted by GNATS.
From: Christian Neukirchen <chneukirchen at gmail.com>
To: Konstantin Belousov <kostikbel at gmail.com>
Cc: freebsd-gnats-submit at FreeBSD.org, standards at freebsd.org
Subject: Re: standards/188173: O_NOFOLLOW visibility not POSIX 2008 conforming
Date: Sun, 06 Apr 2014 16:11:51 +0200
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