Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933105AbaKMOnW (ORCPT ); Thu, 13 Nov 2014 09:43:22 -0500 Received: from mail-qa0-f47.google.com ([209.85.216.47]:63904 "EHLO mail-qa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932706AbaKMOnT (ORCPT ); Thu, 13 Nov 2014 09:43:19 -0500 MIME-Version: 1.0 In-Reply-To: <20141112135009.5a887d200be262d94ba50495@linux-foundation.org> References: <1415379664-31555-1-git-send-email-drysdale@google.com> <20141112135009.5a887d200be262d94ba50495@linux-foundation.org> From: David Drysdale Date: Thu, 13 Nov 2014 14:42:58 +0000 Message-ID: Subject: Re: [PATCHv7 0/3] syscalls,x86: Add execveat() system call To: Andrew Morton , Christoph Hellwig , Rich Felker Cc: "Eric W. Biederman" , Andy Lutomirski , Alexander Viro , Meredydd Luff , "linux-kernel@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Kees Cook , Arnd Bergmann , X86 ML , linux-arch , Linux API Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 12, 2014 at 9:50 PM, Andrew Morton wrote: > On Fri, 7 Nov 2014 17:01:01 +0000 David Drysdale wrote: > >> This patch set adds execveat(2) for x86, and is derived from Meredydd >> Luff's patch from Sept 2012 (https://lkml.org/lkml/2012/9/11/528). >> >> The primary aim of adding an execveat syscall is to allow an >> implementation of fexecve(3) that does not rely on the /proc >> filesystem, at least for executables (rather than scripts). The >> current glibc version of fexecve(3) is implemented via /proc, which >> causes problems in sandboxed or otherwise restricted environments. > > Have the relevant glibc people seen/reviewed/liked this? I think it's been mentioned in passing but not explicitly discussed over there (https://sourceware.org/ml/libc-alpha/2014-10/msg00497.html, https://sourceware.org/ml/libc-alpha/2014-10/msg00509.html) and a couple of the participants in that thread (Christoph Hellwig, Rich Felker) were also cc:ed here. It sounded like execveat might be useful for another feature (O_EXEC) but I'm not sure whether that amounts to the relevant glibc folk liking this... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/