]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
sparc: Hook up memfd_create system call.
authorDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 05:00:09 +0000 (22:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 05:00:09 +0000 (22:00 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/uapi/asm/unistd.h
arch/sparc/kernel/systbls_32.S
arch/sparc/kernel/systbls_64.S

index 886cab456e1b9ef3074eb2cfee386790a16bdda4..c842a89b11903aaa56d89ff65fd3b87658046a68 100644 (file)
 #define __NR_renameat2         345
 #define __NR_seccomp           346
 #define __NR_getrandom         347
+#define __NR_memfd_create      348
 
-#define NR_syscalls            348
+#define NR_syscalls            349
 
 /* Bitmask values returned from kern_features system call.  */
 #define KERN_FEATURE_MIXED_MODE_STACK  0x00000001
index 217893e18d7832300f881a5fa97959a42e52d309..6a873c344bc0b970b4f0da915f4e5042763b82b9 100644 (file)
@@ -86,4 +86,4 @@ sys_call_table:
 /*330*/        .long sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
 /*335*/        .long sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev
 /*340*/        .long sys_ni_syscall, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
-/*345*/        .long sys_renameat2, sys_seccomp, sys_getrandom
+/*345*/        .long sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create
index d93b49d1b420ffc108258ed8ab322d1ab85ccbee..d9151b6490d8810b2bbd2b0f3bee53e535711375 100644 (file)
@@ -87,7 +87,7 @@ sys_call_table32:
 /*330*/        .word compat_sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, compat_sys_open_by_handle_at, compat_sys_clock_adjtime
        .word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, compat_sys_process_vm_writev
 /*340*/        .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
-       .word sys32_renameat2, sys_seccomp, sys_getrandom
+       .word sys32_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create
 
 #endif /* CONFIG_COMPAT */
 
@@ -166,4 +166,4 @@ sys_call_table:
 /*330*/        .word sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
        .word sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev
 /*340*/        .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
-       .word sys_renameat2, sys_seccomp, sys_getrandom
+       .word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create