syscall.sh / parisc / sendfile

sendfile

transfer data between file descriptors

sys_sendfile(int out_fd, int in_fd, off_t *offset, size_t count)
number122 (0x7a)
abicommon
entry pointsys_sendfile
sinceLinux 5.0
man pagesendfile(2)
sourceelixir.bootlin.com

Registers

registervalue
r20122, the syscall number
r26int out_fd
r25int in_fd
r24off_t *offset
r23size_t count
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/sendfile