syscall.sh / mipso32 / copy_file_range
copy_file_range
Copy a range of data from one file to another
sys_copy_file_range(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags)
| number | 4360 (0x1108) |
|---|---|
| abi | o32 |
| entry point | sys_copy_file_range |
| since | Linux 5.0 |
| man page | copy_file_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 4360, the syscall number |
a0 | int fd_in |
a1 | loff_t *off_in |
a2 | int fd_out |
a3 | loff_t *off_out |
sp+16 | size_t len |
sp+20 | unsigned int flags |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 326
- x86 377
- arm64 285
- arm 391
- riscv64 285
- x32 1073742150
- loongarch64 285
- ppc64 379
- ppc 379
- s390x 375
- mips64 5320
- mipsn32 6324
- alpha 519
- arc 285
- csky 285
- hexagon 285
- m68k 376
- microblaze 392
- nios2 285
- openrisc 285
- parisc 346
- sh 380
- sparc 357
- sparc64 357
- xtensa 345
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/copy_file_range