syscall.sh / x32 / io_setup
io_setup
create an asynchronous I/O context
x32 has 2 syscalls called io_setup, each with its own number.
io_setup #1073742030 (common ABI)
sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
This syscall was removed in Linux 3.16.
| number | 1073742030 (0x400000ce) |
|---|---|
| abi | common |
| entry point | sys_io_setup |
| since | Linux 3.4 |
| removed in | Linux 3.16 |
| man page | io_setup(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742030, the syscall number |
rdi | unsigned nr_events |
rsi | aio_context_t *ctxp |
rax | the return value |
Then run syscall to enter the kernel.
io_setup #1073742367 (x32 ABI)
compat_sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
| number | 1073742367 (0x4000021f) |
|---|---|
| abi | x32 |
| entry point | compat_sys_io_setup |
| since | Linux 3.16 |
| man page | io_setup(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742367, the syscall number |
rdi | unsigned nr_events |
rsi | aio_context_t *ctxp |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 206
- x86 245
- arm64 0
- arm 243
- riscv64 0
- loongarch64 0
- ppc64 227
- ppc 227
- s390x 243
- mips64 5200
- mipsn32 6200
- mipso32 4241
- alpha 398
- arc 0
- csky 0
- hexagon 0
- m68k 241
- microblaze 245
- nios2 0
- openrisc 0
- parisc 215
- sh 245
- sparc 268
- sparc64 268
- xtensa 239
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/io_setup