From owner-freebsd-standards@FreeBSD.ORG Sun Apr 6 14:11:54 2014 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCA1CA83; Sun, 6 Apr 2014 14:11:54 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BBF41B1; Sun, 6 Apr 2014 14:11:54 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id z2so3676736wiv.0 for ; Sun, 06 Apr 2014 07:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=oMflMJd8xHWixC6dfHjVG6Ep2lvH5iZKCLdWQ7huU84=; b=nTVzgCg++AQaALBwinBkLC+DAqvfvaLqDvoxqxc5+fGjYH07VE6bxENwNsTPK/yimk AIbDmhgVpgbN3u+ZHD2Vt8RVu6/VPSxTbbkYiVIlRgFVvYF/vVsyoBLDdSm+rOxkjHsv I+M0u3XusS9Ftiaduvq/NF9jMai0n5Z/StcRTrYIjDyKXCUIFrYgjupcwQSUiNmHOU5Q baZjecCIN5wyrFRdDiLv1OZoqWZI8MJL2czd/S5H+Q68USBROFLP8ZjMtRTICqhJK9Jc rumZ/ye7rDuOefdEa242GEQfMaqcKYeWMQemvugHMfnOfLRjDNGSav1phYrv9HSr7vz/ syzg== X-Received: by 10.180.78.225 with SMTP id e1mr10612390wix.17.1396793512345; Sun, 06 Apr 2014 07:11:52 -0700 (PDT) Received: from juno.localdomain (dhcp-138-246-84-247.dynamic.eduroam.mwn.de. [138.246.84.247]) by mx.google.com with ESMTPSA id g3sm34719589eet.35.2014.04.06.07.11.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Apr 2014 07:11:51 -0700 (PDT) Received: by juno.localdomain (Postfix, from userid 1000) id 8A7668EB71; Sun, 6 Apr 2014 16:11:51 +0200 (CEST) From: Christian Neukirchen To: Konstantin Belousov Subject: Re: standards/188173: O_NOFOLLOW visibility not POSIX 2008 conforming References: <201404011531.s31FVVNR008903@cgiserv.freebsd.org> <20140405201607.GL21331@kib.kiev.ua> Date: Sun, 06 Apr 2014 16:11:51 +0200 In-Reply-To: <20140405201607.GL21331@kib.kiev.ua> (Konstantin Belousov's message of "Sat, 5 Apr 2014 23:16:07 +0300") Message-ID: <87ioqm1ra0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: standards@freebsd.org, freebsd-gnats-submit@FreeBSD.org X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2014 14:11:54 -0000 Konstantin Belousov 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 http://chneukirchen.org