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>
This commit is contained in:
Al Viro
2012-11-28 23:04:26 -05:00
parent 1ea2a01605
commit 24465a40ba
12 changed files with 11 additions and 63 deletions
+10
View File
@@ -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);