syscall.sh / csky / 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 4.20
man pagerecvmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
r7212, the syscall number
a0int fd
a1struct user_msghdr *msg
a2unsigned int flags
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

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