aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-22 22:34:11 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-28 22:13:44 -0500
commit1d4b4b2994b5fc208963c0b795291f8c1f18becf (patch)
treebefe27a3e2abc333b5bd81ee7381e4c5541f543f /arch/um
parent71613c3b871c5a9f27cc48f124251bcd3aa23be1 (diff)
x86, um: switch to generic fork/vfork/clone
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/kernel/syscall.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/um/kernel/syscall.c b/arch/um/kernel/syscall.c
index 3a875226c8ef..c1d0ae069b53 100644
--- a/arch/um/kernel/syscall.c
+++ b/arch/um/kernel/syscall.c
@@ -14,25 +14,6 @@
14#include <asm/uaccess.h> 14#include <asm/uaccess.h>
15#include <asm/unistd.h> 15#include <asm/unistd.h>
16 16
17long sys_fork(void)
18{
19 return do_fork(SIGCHLD, 0,
20 &current->thread.regs, 0, NULL, NULL);
21}
22
23long sys_vfork(void)
24{
25 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0,
26 &current->thread.regs, 0, NULL, NULL);
27}
28
29long sys_clone(unsigned long clone_flags, unsigned long newsp,
30 void __user *parent_tid, void __user *child_tid)
31{
32 return do_fork(clone_flags, newsp, &current->thread.regs, 0, parent_tid,
33 child_tid);
34}
35
36long old_mmap(unsigned long addr, unsigned long len, 17long old_mmap(unsigned long addr, unsigned long len,
37 unsigned long prot, unsigned long flags, 18 unsigned long prot, unsigned long flags,
38 unsigned long fd, unsigned long offset) 19 unsigned long fd, unsigned long offset)