Skip to content

Commit 6ccce2b

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc: sparc: Hook up process_vm_{readv,writev} syscalls.
2 parents dccefb3 + 51ce185 commit 6ccce2b

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎arch/sparc/include/asm/unistd.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,10 @@
406406
#define __NR_syncfs 335
407407
#define __NR_sendmmsg 336
408408
#define __NR_setns 337
409+
#define __NR_process_vm_readv 338
410+
#define __NR_process_vm_writev 339
409411

410-
#define NR_syscalls 338
412+
#define NR_syscalls 340
411413

412414
#ifdef __32bit_syscall_numbers__
413415
/* Sparc 32-bit only has the "setresuid32", "getresuid32" variants,

‎arch/sparc/kernel/systbls_32.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ sys_call_table:
8484
/*320*/ .long sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv
8585
/*325*/ .long sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
8686
/*330*/ .long sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
87-
/*335*/ .long sys_syncfs, sys_sendmmsg, sys_setns
87+
/*335*/ .long sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev

‎arch/sparc/kernel/systbls_64.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ sys_call_table32:
8585
/*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, compat_sys_preadv
8686
.word compat_sys_pwritev, compat_sys_rt_tgsigqueueinfo, sys_perf_event_open, compat_sys_recvmmsg, sys_fanotify_init
8787
/*330*/ .word sys32_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, compat_sys_open_by_handle_at, compat_sys_clock_adjtime
88-
.word sys_syncfs, compat_sys_sendmmsg, sys_setns
88+
.word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, compat_sys_process_vm_writev
8989

9090
#endif /* CONFIG_COMPAT */
9191

@@ -162,4 +162,4 @@ sys_call_table:
162162
/*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv
163163
.word sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
164164
/*330*/ .word sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
165-
.word sys_syncfs, sys_sendmmsg, sys_setns
165+
.word sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev

0 commit comments

Comments
 (0)