syscall.sh / ppc / pread64

pread64

read from or write to a file descriptor at a given offset

sys_ppc_pread64(unsigned int fd, char *ubuf, compat_size_t count, u32 reg6, u32 pos1, u32 pos2)
number179 (0xb3)
abi32
entry pointsys_ppc_pread64
sinceLinux 5.0
man pagepread64(2)
sourceelixir.bootlin.com

Registers

registervalue
r0179, the syscall number
r3unsigned int fd
r4char *ubuf
r5compat_size_t count
r6u32 reg6
r7u32 pos1
r8u32 pos2
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/pread64