sh: system call wire up
authorYoshinori Sato <ysato@users.sourceforge.jp>
Tue, 28 Jun 2016 06:49:46 +0000 (15:49 +0900)
committerRich Felker <dalias@libc.org>
Fri, 5 Aug 2016 03:29:44 +0000 (03:29 +0000)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/uapi/asm/unistd_32.h
arch/sh/include/uapi/asm/unistd_64.h
arch/sh/kernel/syscalls_32.S
arch/sh/kernel/syscalls_64.S

index d13a1d6237363747117770a7620f448b08474e47..c801bde9e6f5076e6e55f86d74b39c60417efdfb 100644 (file)
 #define __NR_process_vm_writev 366
 #define __NR_kcmp              367
 #define __NR_finit_module      368
+#define __NR_sched_getattr     369
+#define __NR_sched_setattr     370
+#define __NR_renameat2         371
+#define __NR_seccomp           372
+#define __NR_getrandom         373
+#define __NR_memfd_create      374
+#define __NR_bpf               375
+#define __NR_execveat          376
+#define __NR_userfaultfd       377
+#define __NR_membarrier                378
+#define __NR_mlock2            379
+#define __NR_copy_file_range   380
+#define __NR_preadv2           381
+#define __NR_pwritev2          382
 
-#define NR_syscalls 369
+#define NR_syscalls 383
 
 #endif /* __ASM_SH_UNISTD_32_H */
index 47ebd5b5ed55e018343e0c577eb2ca21e885bc17..ce0cb3598b6296788e9f71ac1070414ddb4e6e58 100644 (file)
 #define __NR_process_vm_writev 377
 #define __NR_kcmp              378
 #define __NR_finit_module      379
+#define __NR_sched_getattr     380
+#define __NR_sched_setattr     381
+#define __NR_renameat2         382
+#define __NR_seccomp           383
+#define __NR_getrandom         384
+#define __NR_memfd_create      385
+#define __NR_bpf               386
+#define __NR_execveat          387
+#define __NR_userfaultfd       388
+#define __NR_membarrier                389
+#define __NR_mlock2            390
+#define __NR_copy_file_range   391
+#define __NR_preadv2           392
+#define __NR_pwritev2          393
 
-#define NR_syscalls 380
+#define NR_syscalls 394
 
 #endif /* __ASM_SH_UNISTD_64_H */
index 734234be2f011cfb529bacecd8a0efdfaa8762ca..254bc22ee57d717dd03b5b2a23cd21d57554dc7b 100644 (file)
@@ -386,3 +386,17 @@ ENTRY(sys_call_table)
        .long sys_process_vm_writev
        .long sys_kcmp
        .long sys_finit_module
+       .long sys_sched_getattr
+       .long sys_sched_setattr         /* 370 */
+       .long sys_renameat2
+       .long sys_seccomp
+       .long sys_getrandom
+       .long sys_memfd_create
+       .long sys_bpf                   /* 375 */
+       .long sys_execveat
+       .long sys_userfaultfd
+       .long sys_membarrier
+       .long sys_mlock2
+       .long sys_copy_file_range       /* 380 */
+       .long sys_preadv2
+       .long sys_pwritev2
index 579fcb9a896be37d01421ce96e8b3fec18ff7e3b..d6a27f7a4c54b1c33d00c912fa5f7ebc02b80ced 100644 (file)
@@ -406,3 +406,17 @@ sys_call_table:
        .long sys_process_vm_writev
        .long sys_kcmp
        .long sys_finit_module
+       .long sys_sched_getattr         /* 380 */
+       .long sys_sched_setattr
+       .long sys_renameat2
+       .long sys_seccomp
+       .long sys_getrandom
+       .long sys_memfd_create          /* 385 */
+       .long sys_bpf
+       .long sys_execveat
+       .long sys_userfaultfd
+       .long sys_membarrier
+       .long sys_mlock2                /* 390 */
+       .long sys_copy_file_range
+       .long sys_preadv2
+       .long sys_pwritev2