accept on blackfin
accept a connection on a socket
sys_accept(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen)
| number | 314 (0x13a) |
|---|---|
| abi | common |
| entry point | sys_accept |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | accept(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 314, the syscall number |
R0 | int fd |
R1 | struct sockaddr *upeer_sockaddr |
R2 | int *upeer_addrlen |
R0 | the return value |
Then run excpt 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 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
- 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
- tilepro 202, removed in 4.17
- xtensa 103
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/accept?kernel=all