syscall.sh / x32 / select
select
synchronous I/O multiplexing
sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct __kernel_old_timeval *tvp)
| number | 1073741847 (0x40000017) |
|---|---|
| abi | common |
| entry point | sys_select |
| since | Linux 3.4 |
| man page | select(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073741847, the syscall number |
rdi | int n |
rsi | fd_set *inp |
rdx | fd_set *outp |
r10 | fd_set *exp |
r8 | struct __kernel_old_timeval *tvp |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/select