select on score
synchronous I/O multiplexing
sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct timeval *tvp)
| number | 1067 (0x42b) |
|---|---|
| abi | common |
| entry point | sys_select |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | select(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1067, the syscall number |
r4 | int n |
r5 | fd_set *inp |
r6 | fd_set *outp |
r7 | fd_set *exp |
r8 | struct timeval *tvp |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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 23
- x86 82
- ia32 82
- x32 1073741847
- ppc 82
- s390x 142
- alpha 358
- cris 82, removed in 4.17
- ia64 1089, removed in 6.7
- m68k 82
- mn10300 82, removed in 4.17
- sparc 93
- sparc64 93
- xtensa 14
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/select?kernel=all