diff options
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 8cf7b508cb50..6caee34bf8a2 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h | |||
@@ -560,10 +560,10 @@ asmlinkage long sys_utime(char __user *filename, | |||
560 | asmlinkage long sys_utimes(char __user *filename, | 560 | asmlinkage long sys_utimes(char __user *filename, |
561 | struct timeval __user *utimes); | 561 | struct timeval __user *utimes); |
562 | asmlinkage long sys_lseek(unsigned int fd, off_t offset, | 562 | asmlinkage long sys_lseek(unsigned int fd, off_t offset, |
563 | unsigned int origin); | 563 | unsigned int whence); |
564 | asmlinkage long sys_llseek(unsigned int fd, unsigned long offset_high, | 564 | asmlinkage long sys_llseek(unsigned int fd, unsigned long offset_high, |
565 | unsigned long offset_low, loff_t __user *result, | 565 | unsigned long offset_low, loff_t __user *result, |
566 | unsigned int origin); | 566 | unsigned int whence); |
567 | asmlinkage long sys_read(unsigned int fd, char __user *buf, size_t count); | 567 | asmlinkage long sys_read(unsigned int fd, char __user *buf, size_t count); |
568 | asmlinkage long sys_readahead(int fd, loff_t offset, size_t count); | 568 | asmlinkage long sys_readahead(int fd, loff_t offset, size_t count); |
569 | asmlinkage long sys_readv(unsigned long fd, | 569 | asmlinkage long sys_readv(unsigned long fd, |
@@ -833,10 +833,22 @@ int kernel_execve(const char *filename, const char *const argv[], const char *co | |||
833 | #define kernel_execve(filename, argv, envp) \ | 833 | #define kernel_execve(filename, argv, envp) \ |
834 | do_execve(filename, \ | 834 | do_execve(filename, \ |
835 | (const char __user *const __user *)argv, \ | 835 | (const char __user *const __user *)argv, \ |
836 | (const char __user *const __user *)envp, \ | 836 | (const char __user *const __user *)envp) |
837 | current_pt_regs()) | ||
838 | #endif | 837 | #endif |
839 | 838 | ||
839 | asmlinkage long sys_fork(void); | ||
840 | asmlinkage long sys_vfork(void); | ||
841 | #ifdef CONFIG_CLONE_BACKWARDS | ||
842 | asmlinkage long sys_clone(unsigned long, unsigned long, int __user *, int, | ||
843 | int __user *); | ||
844 | #else | ||
845 | asmlinkage long sys_clone(unsigned long, unsigned long, int __user *, | ||
846 | int __user *, int); | ||
847 | #endif | ||
848 | |||
849 | asmlinkage long sys_execve(const char __user *filename, | ||
850 | const char __user *const __user *argv, | ||
851 | const char __user *const __user *envp); | ||
840 | 852 | ||
841 | asmlinkage long sys_perf_event_open( | 853 | asmlinkage long sys_perf_event_open( |
842 | struct perf_event_attr __user *attr_uptr, | 854 | struct perf_event_attr __user *attr_uptr, |