syscall.sh / xtensa / recvmsg

recvmsg

receive a message from a socket

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

Registers

registervalue
a2107, the syscall number
a6int fd
a3struct user_msghdr *msg
a4unsigned int flags
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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