syscall.sh / arc / recvmsg

recvmsg

receive a message from a socket

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

Registers

registervalue
r8212, the syscall number
r0int fd
r1struct user_msghdr *msg
r2unsigned int flags
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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