syscall.sh / mipso32 / clone

clone

create a child process

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

Registers

registervalue
v04120, the syscall number
a0unsigned long clone_flags
a1unsigned long newsp
a2int *parent_tidptr
a3unsigned long tls
sp+16int *child_tidptr
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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