Date: Sun, 6 Apr 2014 14:20:00 GMT From: Christian Neukirchen <chneukirchen@gmail.com> To: freebsd-standards@FreeBSD.org Subject: Re: standards/188173: O_NOFOLLOW visibility not POSIX 2008 conforming Message-ID: <201404061420.s36EK0lJ008130@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/188173; it has been noted by GNATS. From: Christian Neukirchen <chneukirchen@gmail.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-gnats-submit@FreeBSD.org, standards@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@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?201404061420.s36EK0lJ008130>