syscall.sh / arm64 / 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 | 285 (0x11d) |
|---|---|
| abi | common |
| entry point | sys_copy_file_range |
| since | Linux 4.5 |
| man page | copy_file_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 285, the syscall number |
x0 | int fd_in |
x1 | loff_t *off_in |
x2 | int fd_out |
x3 | loff_t *off_out |
x4 | size_t len |
x5 | unsigned int flags |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 326
- x86 377
- arm 391
- riscv64 285
- x32 1073742150
- loongarch64 285
- ppc64 379
- ppc 379
- s390x 375
- mips64 5320
- mipsn32 6324
- mipso32 4360
- 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/arm64/copy_file_range