prctl on ia64
operations on a process or thread
sys_prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
| number | 1170 (0x492) |
|---|---|
| abi | common |
| entry point | sys_prctl |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | prctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1170, the syscall number |
out0 | int option |
out1 | unsigned long arg2 |
out2 | unsigned long arg3 |
out3 | unsigned long arg4 |
out4 | unsigned long arg5 |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. 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
- 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/ia64/prctl?kernel=all