Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752311AbbEKCOc (ORCPT ); Sun, 10 May 2015 22:14:32 -0400 Received: from cyan.worrbase.com ([208.79.95.114]:18416 "EHLO cyan.worrbase.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751644AbbEKCO1 (ORCPT ); Sun, 10 May 2015 22:14:27 -0400 X-Greylist: delayed 399 seconds by postgrey-1.27 at vger.kernel.org; Sun, 10 May 2015 22:14:19 EDT Authentication-Results: cyan.worrbase.com (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=worrbase.com From: William Orr To: linux-kernel@vger.kernel.org Cc: William Orr Subject: [PATCH 2/2] Define syscall number for fchmodat4 Date: Sun, 10 May 2015 19:07:22 -0700 Message-Id: <1431310042-52247-3-git-send-email-will@worrbase.com> X-Mailer: git-send-email 2.3.7 In-Reply-To: <1431310042-52247-1-git-send-email-will@worrbase.com> References: <1431310042-52247-1-git-send-email-will@worrbase.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1810 Lines: 52 --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + include/uapi/asm-generic/unistd.h | 4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index ef8187f..cc8ada8 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl @@ -365,3 +365,4 @@ 356 i386 memfd_create sys_memfd_create 357 i386 bpf sys_bpf 358 i386 execveat sys_execveat stub32_execveat +359 i386 fchmodat4 sys_fchmodat4 diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index 9ef32d5..bbf8c6b 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl @@ -329,6 +329,7 @@ 320 common kexec_file_load sys_kexec_file_load 321 common bpf sys_bpf 322 64 execveat stub_execveat +323 common fchmodat4 sys_fchmodat4 # # x32-specific system call numbers start at 512 to avoid cache impact diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index e016bd9..6e362a2 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -709,9 +709,11 @@ __SYSCALL(__NR_memfd_create, sys_memfd_create) __SYSCALL(__NR_bpf, sys_bpf) #define __NR_execveat 281 __SC_COMP(__NR_execveat, sys_execveat, compat_sys_execveat) +#define __NR_fchmodat4 282 +__SYSCALL(__NR_fchmodat4, sys_fchmodat4); #undef __NR_syscalls -#define __NR_syscalls 282 +#define __NR_syscalls 283 /* * All syscalls below here should go away really, -- 2.1.0 -- 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/