accept4 on cris
accept a connection on a socket
sys_accept4(int fd, struct sockaddr *upeer_sockaddr, int *upeer_addrlen, int flags)
| number | 341 (0x155) |
|---|---|
| abi | common |
| entry point | sys_accept4 |
| since | Linux 3.14 |
| man page | accept4(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r9 | 341, the syscall number |
r10 | int fd |
r11 | struct sockaddr *upeer_sockaddr |
r12 | int *upeer_addrlen |
r13 | int flags |
r10 | the return value |
Then run break 13 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 288
- x86 364
- arm64 242
- arm 366
- riscv64 242
- ia32 364
- x32 1073742112
- loongarch64 242
- ppc64 344
- ppc 344
- s390x 364
- mips64 5293
- mipsn32 6297
- mipso32 4334
- alpha 502
- arc 242
- csky 242
- hexagon 242
- ia64 1334, removed in 6.7
- m68k 361
- metag 242, removed in 4.17
- microblaze 362
- nds32 242, removed in 5.18
- nios2 242
- openrisc 242
- parisc 320
- score 242, removed in 4.17
- sh 358
- sparc 323
- sparc64 323
- tilegx 242, removed in 4.17
- tilepro 242, removed in 4.17
- xtensa 333
Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/accept4?kernel=all