Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759663Ab2HIUaE (ORCPT ); Thu, 9 Aug 2012 16:30:04 -0400 Received: from terminus.zytor.com ([198.137.202.10]:43106 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759531Ab2HIUaA (ORCPT ); Thu, 9 Aug 2012 16:30:00 -0400 Message-ID: <50241DA9.7070108@zytor.com> Date: Thu, 09 Aug 2012 13:29:29 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Andy Lutomirski CC: Meredydd Luff , linux-kernel@vger.kernel.org, Kees Cook , Ingo Molnar , Jeff Dike , Richard Weinberger , Andrew Morton Subject: Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2) References: <1343859049-3632-1-git-send-email-meredydd@senatehouse.org> <50240D47.7050906@amacapital.net> In-Reply-To: <50240D47.7050906@amacapital.net> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 812 Lines: 25 On 08/09/2012 12:19 PM, Andy Lutomirski wrote: > On 08/01/2012 03:10 PM, Meredydd Luff wrote: >> >> +#ifndef sys_execveat >> +asmlinkage long sys_execveat(int dfd, const char __user *filename, >> + const char __user *const __user *argv, >> + const char __user *const __user *envp, >> + struct pt_regs *regs); >> +#endif > > Should this have a flags argument for future extension? > Not just for future extension. We already have a NOFOLLOW flag for the -at functions, and that would be applicable here. CLOEXEC, obviously not ;) -hpa -- 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/