Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Apr 2014 16:11:51 +0200
From:      Christian Neukirchen <chneukirchen@gmail.com>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        standards@freebsd.org, freebsd-gnats-submit@FreeBSD.org
Subject:   Re: standards/188173: O_NOFOLLOW visibility not POSIX 2008 conforming
Message-ID:  <87ioqm1ra0.fsf@gmail.com>
In-Reply-To: <20140405201607.GL21331@kib.kiev.ua> (Konstantin Belousov's message of "Sat, 5 Apr 2014 23:16:07 %2B0300")
References:  <201404011531.s31FVVNR008903@cgiserv.freebsd.org> <20140405201607.GL21331@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov <kostikbel@gmail.com> writes:

> On Tue, Apr 01, 2014 at 03:31:31PM +0000, Christian Neukirchen wrote:
>> >Fix:
>> 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 */
>> #endif
>> 
>
> 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@gmail.com>  http://chneukirchen.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ioqm1ra0.fsf>