syscall.sh / riscv64 / clone3

clone3

create a child process

sys_clone3(struct clone_args *uargs, size_t size)
number435 (0x1b3)
abicommon
entry pointsys_clone3
sinceLinux 5.3
man pageclone3(2)
sourceelixir.bootlin.com

Registers

registervalue
a7435, the syscall number
a0struct clone_args *uargs
a1size_t size
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/clone3