prctl on nds32
operations on a process or thread
sys_prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
| number | 167 (0xa7) |
|---|---|
| abi | common |
| entry point | sys_prctl |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | prctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 167, the syscall number |
r0 | int option |
r1 | unsigned long arg2 |
r2 | unsigned long arg3 |
r3 | unsigned long arg4 |
r4 | unsigned long arg5 |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. 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
- frv 172, removed in 4.17
- 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
- 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/nds32/prctl?kernel=all