syscall.sh / ppc / recvmsg

recvmsg

receive a message from a socket

sys_recvmsg(int fd, struct user_msghdr *msg, unsigned int flags)
number342 (0x156)
abicommon
entry pointsys_recvmsg
sinceLinux 5.0
man pagerecvmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
r0342, the syscall number
r3int fd
r4struct user_msghdr *msg
r5unsigned int flags
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/recvmsg