From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 514C3385BF81 for ; Tue, 28 Apr 2020 15:29:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 514C3385BF81 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: Tv0jTuSiSqAR+HXdojAyzkhmtrVlsk1zgr+aOPLZpOqfB8G/jwV5LvMymc7SDSB1Kfk7yHlgw5 UQFm594RDhHKWZLvRLIKViEjd/UVvuDZLSailyQd1qj0FgzRC96lHdZgAVe4rH3mbchRiztkqk bVKuQWZ4thHdGhLlFZlQHAvQ8man1+jm3FgrawXlzQ5Vhhu2hO8FS1vRWflvF1AG/nva053H6k Ta1A1LAuKrBr+lpr8sO/b5npZxciD7t+YRYLdpl0AeZF6d97FVEpJ+5MGYYoNsiMHd6l7gBc1p +dg= X-IronPort-AV: E=Sophos;i="5.73,328,1583222400"; d="scan'208";a="48372760" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 28 Apr 2020 07:29:13 -0800 IronPort-SDR: Y0J24tAOQ7IDhGUm7oAqoUKfyUTihcW4BmRwI5EvVT24e/h1Mb0q4cnSSfpbMF7yfIeE2KoAfy jc7gK8I3W1HMdIUh3LTm2vqXNlTC9YZF5DUpOhMD4sEwQTVt/GCZ7KU8XdHcz/UtSiBNiRyhou Y2CAED94+XEk6KlGUU/xBGDyuo5V/fteUtGuuZ01371j3itFBm3ExaDHv2XUpNhj5mL5bukHAU b6AmT+Kuftrk8+XQubXKwBlFNIiZFw4kHhdFxrrR/9vYcnnyq7C7fFm0R6u3EaqcLdVCPLlAHD aY8= Date: Tue, 28 Apr 2020 15:29:07 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Florian Weimer CC: , =?ISO-8859-15?Q?Alexandra_H=E1jkov=E1?= Subject: Re: [PATCH] Linux: Add execveat system call wrapper In-Reply-To: <87v9ljodfl.fsf@mid.deneb.enyo.de> Message-ID: References: <20200428122019.26826-1-ahajkova@redhat.com> <87v9ljodfl.fsf@mid.deneb.enyo.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2020 15:29:24 -0000 On Tue, 28 Apr 2020, Florian Weimer wrote: > * Joseph Myers: > > > This patch needs documentation for the new function in the glibc manual, > > as well as a NEWS entry for it (under "Major new features" for 2.32). > > The documentation will conflict with the manual update for the > existing fexecve function, so that should be reviewed first: > > That documentation is fine with me, but I'm not sure where the O_RDONLY / O_PATH requirement comes from. Is there some code in the Linux kernel (that I didn't find in a quick look at the execveat implementation) that imposes that requirement? -- Joseph S. Myers joseph@codesourcery.com