diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 23:04:26 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 23:43:27 -0500 |
commit | 24465a40ba452bd81fdc9eecb2d75bb903aafdf6 (patch) | |
tree | 859765acda3c65273fce6601029a7c4d8002c41d /include/linux/syscalls.h | |
parent | 1ea2a0160588582cd8414a8026d5b54f1705dfa1 (diff) | |
download | lwn-24465a40ba452bd81fdc9eecb2d75bb903aafdf6.tar.gz lwn-24465a40ba452bd81fdc9eecb2d75bb903aafdf6.zip |
take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h
now it can be done...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 526deb333b91..91835e7f364d 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -836,6 +836,16 @@ int kernel_execve(const char *filename, const char *const argv[], const char *co (const char __user *const __user *)envp) #endif +asmlinkage long sys_fork(void); +asmlinkage long sys_vfork(void); +#ifdef CONFIG_CLONE_BACKWARDS +asmlinkage long sys_clone(unsigned long, unsigned long, int __user *, int, + int __user *); +#else +asmlinkage long sys_clone(unsigned long, unsigned long, int __user *, + int __user *, int); +#endif + asmlinkage long sys_execve(const char __user *filename, const char __user *const __user *argv, const char __user *const __user *envp); |