syscall.sh / sparc64 / 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 | 93 (0x5d) |
|---|---|
| abi | common |
| entry point | sys_select |
| since | Linux 5.0 |
| man page | select(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 93, the syscall number |
o0 | int n |
o1 | fd_set *inp |
o2 | fd_set *outp |
o3 | fd_set *exp |
o4 | struct __kernel_old_timeval *tvp |
o0 | the return value |
Then run t 0x6d to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc64/select