syscall.sh / nios2 / clone

clone

create a child process

sys_clone(unsigned long, unsigned long, int *, int *, unsigned long)
number220 (0xdc)
abicommon
entry pointsys_clone
sinceLinux 3.19
man pageclone(2)
sourceelixir.bootlin.com

Registers

registervalue
r2220, the syscall number
r4unsigned long
r5unsigned long
r6int *
r7int *
r8unsigned long
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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