prctl on frv
operations on a process or thread
sys_prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
| number | 172 (0xac) |
|---|---|
| abi | common |
| entry point | sys_prctl |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | prctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 172, the syscall number |
gr8 | int option |
gr9 | unsigned long arg2 |
gr10 | unsigned long arg3 |
gr11 | unsigned long arg4 |
gr12 | unsigned long arg5 |
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 157
- x86 172
- arm64 167
- arm 172
- riscv64 167
- ia32 172
- x32 1073741981
- loongarch64 167
- ppc64 171
- ppc 171
- s390x 172
- mips64 5153
- mipsn32 6153
- mipso32 4192
- alpha 348
- arc 167
- blackfin 172, removed in 4.17
- cris 172, removed in 4.17
- csky 167
- hexagon 167
- ia64 1170, removed in 6.7
- m32r 172, removed in 4.17
- m68k 172
- metag 167, removed in 4.17
- microblaze 172
- mn10300 172, removed in 4.17
- nds32 167, removed in 5.18
- nios2 167
- openrisc 167
- parisc 172
- score 167, removed in 4.17
- sh 172
- sparc 147
- sparc64 147
- tilegx 167, removed in 4.17
- tilepro 167, removed in 4.17
- xtensa 130
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/prctl?kernel=all