setsockopt on ia64
get and set options on sockets
sys_setsockopt(int fd, int level, int optname, char *optval, int optlen)
| number | 1203 (0x4b3) |
|---|---|
| abi | common |
| entry point | sys_setsockopt |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | setsockopt(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1203, the syscall number |
out0 | int fd |
out1 | int level |
out2 | int optname |
out3 | char *optval |
out4 | int optlen |
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 54
- x86 366
- arm64 208
- arm 294
- riscv64 208
- ia32 366
- x32 1073741878, 1073742365
- loongarch64 208
- ppc64 339
- ppc 339
- s390x 366
- mips64 5053
- mipsn32 6053
- mipso32 4181
- alpha 105
- arc 208
- blackfin 327, removed in 4.17
- csky 208
- hexagon 208
- m68k 363
- metag 208, removed in 4.17
- microblaze 357
- nds32 208, removed in 5.18
- nios2 208
- openrisc 208
- parisc 181
- score 208, removed in 4.17
- sh 353
- sparc 355
- sparc64 355
- tilegx 208, removed in 4.17
- tilepro 208, removed in 4.17
- xtensa 97
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/setsockopt?kernel=all