Commit b973afe9 authored by Al Viro's avatar Al Viro Committed by Arnd Bergmann

alpha: add clone3() support

Since clone3() needs the full register state saved for copying into
the child, it needs the same kind of wrapper as fork(), vfork() and
clone().  Exact same wrapper works, actually...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Acked-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Acked-by: default avatarMatt Turner <mattst88@gmail.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 397c66c2
...@@ -811,6 +811,7 @@ alpha_\name: ...@@ -811,6 +811,7 @@ alpha_\name:
fork_like fork fork_like fork
fork_like vfork fork_like vfork
fork_like clone fork_like clone
fork_like clone3
.macro sigreturn_like name .macro sigreturn_like name
.align 4 .align 4
......
...@@ -474,7 +474,7 @@ ...@@ -474,7 +474,7 @@
542 common fsmount sys_fsmount 542 common fsmount sys_fsmount
543 common fspick sys_fspick 543 common fspick sys_fspick
544 common pidfd_open sys_pidfd_open 544 common pidfd_open sys_pidfd_open
# 545 reserved for clone3 545 common clone3 alpha_clone3
546 common close_range sys_close_range 546 common close_range sys_close_range
547 common openat2 sys_openat2 547 common openat2 sys_openat2
548 common pidfd_getfd sys_pidfd_getfd 548 common pidfd_getfd sys_pidfd_getfd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment