From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754585AbaHKRPa (ORCPT ); Mon, 11 Aug 2014 13:15:30 -0400 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:35939 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751464AbaHKRP2 (ORCPT ); Mon, 11 Aug 2014 13:15:28 -0400 Date: Mon, 11 Aug 2014 18:15:11 +0100 From: Will Deacon To: David Herrmann Cc: "linux-arm-kernel@lists.infradead.org" , linux-kernel , Arnd Bergmann Subject: Re: [PATCH 2/2] asm-generic: add memfd_create system call to unistd.h Message-ID: <20140811171511.GF8828@arm.com> References: <1407764228-7904-1-git-send-email-will.deacon@arm.com> <1407764228-7904-2-git-send-email-will.deacon@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 11, 2014 at 05:54:08PM +0100, David Herrmann wrote: > On Mon, Aug 11, 2014 at 3:37 PM, Will Deacon wrote: > > Commit 9183df25fe7b ("shm: add memfd_create() syscall") added a new > > system call (memfd_create) but didn't update the asm-generic unistd > > header. > > > > This patch adds the new system call to the asm-generic version of > > unistd.h so that it can be used by architectures such as arm64. > > > > Cc: Arnd Bergmann > > Cc: David Herrmann > > Signed-off-by: Will Deacon > > Reviewed-by: David Herrmann Thanks, David. Arnd: shall I take this via the arm64 tree, or do you already have some asm-generic patches queued? Will > > --- > > include/uapi/asm-generic/unistd.h | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h > > index f1afd607f043..11d11bc5c78f 100644 > > --- a/include/uapi/asm-generic/unistd.h > > +++ b/include/uapi/asm-generic/unistd.h > > @@ -703,9 +703,11 @@ __SYSCALL(__NR_renameat2, sys_renameat2) > > __SYSCALL(__NR_seccomp, sys_seccomp) > > #define __NR_getrandom 278 > > __SYSCALL(__NR_getrandom, sys_getrandom) > > +#define __NR_memfd_create 279 > > +__SYSCALL(__NR_memfd_create, sys_memfd_create) > > > > #undef __NR_syscalls > > -#define __NR_syscalls 279 > > +#define __NR_syscalls 280 > > > > /* > > * All syscalls below here should go away really, > > -- > > 2.0.1 > > >