From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2833 Path: news.gmane.org!not-for-mail From: KOSAKI Motohiro Newsgroups: gmane.comp.lib.glibc.alpha,gmane.linux.lib.musl.general Subject: Re: O_EXEC and O_SEARCH Date: Fri, 22 Feb 2013 22:05:03 -0500 Message-ID: References: <20130222004540.GA8836@brightrain.aerifal.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1361588767 32669 80.91.229.3 (23 Feb 2013 03:06:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2013 03:06:07 +0000 (UTC) Cc: libc-alpha , musl@lists.openwall.com To: Rich Felker Original-X-From: libc-alpha-return-37214-glibc-alpha=m.gmane.org@sourceware.org Sat Feb 23 04:06:29 2013 Return-path: Envelope-to: glibc-alpha@plane.gmane.org Original-Received: from server1.sourceware.org ([209.132.180.131] helo=sourceware.org) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1U95RQ-0001sn-Vc for glibc-alpha@plane.gmane.org; Sat, 23 Feb 2013 04:06:25 +0100 Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1362193565; h=Comment: DomainKey-Signature:Received:Received:MIME-Version:In-Reply-To: References:From:Date:Message-ID:Subject:To:Cc:Content-Type: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=ZEENpdQ 2JzF2Df3u7ieZM6TaC4s=; b=jVMLuP1RMIFtA/gDs94L2IetHwq3T0BW1H1KSYX /bIsXkk/sm4+kkycRGis6dlwmpljVt2dmj/X6lhhgYTkCsgnNuEf5JifDCR1AmHU ntxkeCMBjcfcvaQVEP8Ha/qE165US+bct8BPPcVl/n6zGcTSY4Gqtli+scJpMbUC Txho= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:X-Received:MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=oqGWjSrYhIAOAXJbVD9EtaW/Uyd9/IqwXuorPIgaLZC0g6fXiy5Y6g8ArSpJai 5a2VUgb3f9UFyAwNuACSsXFnC38Xuc8OAaSwjnEX0T4KglKZPE+djjzPjZoBEBhv 5F+hZCwU/45+ygWR370+c6fqW8w4CioamH7siurD2+5tE=; Original-Received: (qmail 11022 invoked by alias); 23 Feb 2013 03:06:00 -0000 Original-Received: (qmail 11011 invoked by uid 22791); 23 Feb 2013 03:05:59 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Received: by 10.60.13.162 with SMTP id i2mr1678674oec.121.1361588723315; Fri, 22 Feb 2013 19:05:23 -0800 (PST) In-Reply-To: <20130222004540.GA8836@brightrain.aerifal.cx> Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Original-Sender: libc-alpha-owner@sourceware.org Xref: news.gmane.org gmane.comp.lib.glibc.alpha:29550 gmane.linux.lib.musl.general:2833 Archived-At: > I'd like to have a conversation with the glibc team about O_EXEC and > O_SEARCH in the interest of hopefully developing a unified plan for > supporting them on Linux. Presumably the reason glibc still does not > have them is that Linux O_PATH does not exactly match their semantics > in some cases, and O_PATH is sufficiently broken on many kernel > versions to make offering it problematic. In particular, current > coreutils break badly on most kernel versions around 2.6.39-3.6 or so > if O_SEARCH and O_EXEC are defined as O_PATH. I'm curious why don't you implement them in kernel directly?