clone on frv
create a child process
sys_clone(unsigned long clone_flags, unsigned long newsp, int *parent_tidptr, int *child_tidptr, unsigned long tls)
| number | 120 (0x78) |
|---|---|
| abi | common |
| entry point | sys_clone |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | clone(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 120, the syscall number |
gr8 | unsigned long clone_flags |
gr9 | unsigned long newsp |
gr10 | int *parent_tidptr |
gr11 | int *child_tidptr |
gr12 | unsigned long tls |
gr8 | the return value |
Then run tira gr0, 0 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 56
- x86 120
- arm64 220
- arm 120
- riscv64 220
- ia32 120
- x32 1073741880
- loongarch64 220
- ppc64 120
- ppc 120
- s390x 120
- mips64 5055
- mipsn32 6055
- mipso32 4120
- alpha 312
- arc 220
- blackfin 120, removed in 4.17
- cris 120, removed in 4.17
- csky 220
- hexagon 220
- ia64 1128, removed in 6.7
- m32r 120, removed in 4.17
- m68k 120
- metag 220, removed in 4.17
- microblaze 120
- mn10300 120, removed in 4.17
- nds32 220, removed in 5.18
- nios2 220
- openrisc 220
- parisc 120
- score 220, removed in 4.17
- sh 120
- sparc 217
- sparc64 217
- tilegx 220, removed in 4.17
- tilepro 220, removed in 4.17
- xtensa 116
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/clone?kernel=all