syscall.sh / s390x / recvmsg

recvmsg

receive a message from a socket

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

Registers

registervalue
r1372, the syscall number
r2int fd
r3struct user_msghdr *msg
r4unsigned int flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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