sendfile64 on score
transfer data between file descriptors
sys_sendfile64(int out_fd, int in_fd, loff_t *offset, size_t count)
| number | 71 (0x47) |
|---|---|
| abi | common |
| entry point | sys_sendfile64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sendfile64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 71, the syscall number |
r4 | int out_fd |
r5 | int in_fd |
r6 | loff_t *offset |
r7 | size_t count |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x86 239
- arm 239
- ia32 239
- ppc 226
- mipsn32 6219
- mipso32 4237
- arc 71
- blackfin 239, removed in 4.17
- cris 239, removed in 4.17
- csky 71
- frv 239, removed in 4.17
- hexagon 71
- m32r 239, removed in 4.17
- m68k 236
- metag 71, removed in 4.17
- microblaze 239
- mn10300 239, removed in 4.17
- nds32 71, removed in 5.18
- nios2 71
- openrisc 71
- parisc 209
- sh 239
- sparc 140
- sparc64 140
- tilepro 71, removed in 4.17
- xtensa 114
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sendfile64?kernel=all