diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-generic/unistd.h | 8 | ||||
| -rw-r--r-- | include/linux/compat.h | 9 |
2 files changed, 16 insertions, 1 deletions
diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index f4c38d8c6674..2292d1af9d70 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h | |||
| @@ -685,9 +685,15 @@ __SYSCALL(__NR_syncfs, sys_syncfs) | |||
| 685 | __SYSCALL(__NR_setns, sys_setns) | 685 | __SYSCALL(__NR_setns, sys_setns) |
| 686 | #define __NR_sendmmsg 269 | 686 | #define __NR_sendmmsg 269 |
| 687 | __SC_COMP(__NR_sendmmsg, sys_sendmmsg, compat_sys_sendmmsg) | 687 | __SC_COMP(__NR_sendmmsg, sys_sendmmsg, compat_sys_sendmmsg) |
| 688 | #define __NR_process_vm_readv 270 | ||
| 689 | __SC_COMP(__NR_process_vm_readv, sys_process_vm_readv, \ | ||
| 690 | compat_sys_process_vm_readv) | ||
| 691 | #define __NR_process_vm_writev 271 | ||
| 692 | __SC_COMP(__NR_process_vm_writev, sys_process_vm_writev, \ | ||
| 693 | compat_sys_process_vm_writev) | ||
| 688 | 694 | ||
| 689 | #undef __NR_syscalls | 695 | #undef __NR_syscalls |
| 690 | #define __NR_syscalls 270 | 696 | #define __NR_syscalls 272 |
| 691 | 697 | ||
| 692 | /* | 698 | /* |
| 693 | * All syscalls below here should go away really, | 699 | * All syscalls below here should go away really, |
diff --git a/include/linux/compat.h b/include/linux/compat.h index 154bf5683015..66ed067fb729 100644 --- a/include/linux/compat.h +++ b/include/linux/compat.h | |||
| @@ -552,5 +552,14 @@ extern ssize_t compat_rw_copy_check_uvector(int type, | |||
| 552 | 552 | ||
| 553 | extern void __user *compat_alloc_user_space(unsigned long len); | 553 | extern void __user *compat_alloc_user_space(unsigned long len); |
| 554 | 554 | ||
| 555 | asmlinkage ssize_t compat_sys_process_vm_readv(compat_pid_t pid, | ||
| 556 | const struct compat_iovec __user *lvec, | ||
| 557 | unsigned long liovcnt, const struct compat_iovec __user *rvec, | ||
| 558 | unsigned long riovcnt, unsigned long flags); | ||
| 559 | asmlinkage ssize_t compat_sys_process_vm_writev(compat_pid_t pid, | ||
| 560 | const struct compat_iovec __user *lvec, | ||
| 561 | unsigned long liovcnt, const struct compat_iovec __user *rvec, | ||
| 562 | unsigned long riovcnt, unsigned long flags); | ||
| 563 | |||
| 555 | #endif /* CONFIG_COMPAT */ | 564 | #endif /* CONFIG_COMPAT */ |
| 556 | #endif /* _LINUX_COMPAT_H */ | 565 | #endif /* _LINUX_COMPAT_H */ |
