syscall.sh / xtensa / clone

clone

create a child process

sys_clone(unsigned long clone_flags, unsigned long newsp, int *parent_tidptr, unsigned long tls, int *child_tidptr)
number116 (0x74)
abicommon
entry pointsys_clone
sinceLinux 5.0
man pageclone(2)
sourceelixir.bootlin.com

Registers

registervalue
a2116, the syscall number
a6unsigned long clone_flags
a3unsigned long newsp
a4int *parent_tidptr
a5unsigned long tls
a8int *child_tidptr
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/clone