diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-21 23:56:52 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-29 07:36:33 +0400 |
commit | 9ac08002130b591d0f2ee035aa9062f84f2f15cb (patch) | |
tree | 35262e61fafefd6279eb39b2b45c4de5ee2166a2 /arch/arm64/kernel/sys.c | |
parent | b9763ce33fff6b37e1f2e2effb14fb25e67a68f2 (diff) | |
download | linux-9ac08002130b591d0f2ee035aa9062f84f2f15cb.tar.xz |
arm64: sanitize copy_thread(), switch to generic fork/vfork/clone
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm64/kernel/sys.c')
-rw-r--r-- | arch/arm64/kernel/sys.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm64/kernel/sys.c b/arch/arm64/kernel/sys.c index 4364df85050e..8292a9b090f8 100644 --- a/arch/arm64/kernel/sys.c +++ b/arch/arm64/kernel/sys.c @@ -26,17 +26,6 @@ #include <linux/slab.h> #include <linux/syscalls.h> -/* - * Clone a task - this clones the calling program thread. - */ -asmlinkage long sys_clone(unsigned long clone_flags, unsigned long newsp, - int __user *parent_tidptr, unsigned long tls_val, - int __user *child_tidptr) -{ - return do_fork(clone_flags, newsp, current_pt_regs(), 0, - parent_tidptr, child_tidptr); -} - asmlinkage long sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t off) |