pwritev2 on ia32
read or write data into multiple buffers
compat_sys_pwritev2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
| number | 379 (0x17b) |
|---|---|
| abi | i386 |
| entry point | compat_sys_pwritev2 |
| since | Linux 4.6 |
| man page | pwritev2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 379, the syscall number |
ebx | unsigned long fd |
ecx | const struct iovec *vec |
edx | unsigned long vlen |
esi | unsigned long pos_l |
edi | unsigned long pos_h |
ebp | rwf_t flags |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
Same syscall on other architectures
- x64 328
- x86 379
- arm64 287
- arm 393
- riscv64 287
- x32 1073742359, 1073742371
- loongarch64 287
- ppc64 381
- ppc 381
- s390x 377
- mips64 5322
- mipsn32 6326
- mipso32 4362
- alpha 521
- arc 287
- csky 287
- hexagon 287
- m68k 378
- microblaze 394
- nios2 287
- openrisc 287
- parisc 348
- sh 382
- sparc 359
- sparc64 359
- xtensa 347
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/pwritev2