syscall.sh / sparc64 / clone
clone
create a child process
sys_clone(unsigned long, unsigned long, int *, int *, unsigned long)
| number | 217 (0xd9) |
|---|---|
| abi | common |
| entry point | sys_clone |
| since | Linux 5.0 |
| man page | clone(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 217, the syscall number |
o0 | unsigned long |
o1 | unsigned long |
o2 | int * |
o3 | int * |
o4 | unsigned long |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
- x64 56
- x86 120
- arm64 220
- arm 120
- riscv64 220
- x32 1073741880
- loongarch64 220
- ppc64 120
- ppc 120
- s390x 120
- mips64 5055
- mipsn32 6055
- mipso32 4120
- alpha 312
- arc 220
- csky 220
- hexagon 220
- m68k 120
- microblaze 120
- nios2 220
- openrisc 220
- parisc 120
- sh 120
- sparc 217
- xtensa 116
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/clone