syscall.sh / microblaze / sendfile

sendfile

transfer data between file descriptors

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

Registers

registervalue
r12187, the syscall number
r5int out_fd
r6int in_fd
r7off_t *offset
r8size_t count
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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