accept on tilepro
accept a connection on a socket
sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
| number | 202 (0xca) |
|---|---|
| abi | common |
| entry point | sys_accept |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | accept(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 202, the syscall number |
r0 | int fd |
r1 | struct sockaddr *upeer_sockaddr |
r2 | int *upeer_addrlen |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 43
- arm64 202
- arm 285
- riscv64 202
- x32 1073741867
- loongarch64 202
- ppc64 330
- ppc 330
- mips64 5042
- mipsn32 6042
- mipso32 4168
- alpha 99
- arc 202
- blackfin 314, removed in 4.17
- csky 202
- hexagon 202
- ia64 1194, removed in 6.7
- metag 202, removed in 4.17
- microblaze 349
- nds32 202, removed in 5.18
- nios2 202
- openrisc 202
- parisc 35
- score 202, removed in 4.17
- sh 344
- sparc 99
- sparc64 99
- tilegx 202, removed in 4.17
- xtensa 103
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/accept?kernel=all