syscall.sh / sh / recvmsg

recvmsg

receive a message from a socket

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

Registers

registervalue
r3356, the syscall number
r4int fd
r5struct user_msghdr *msg
r6unsigned int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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