syscall.sh / sh / sendmsg

sendmsg

send a message on a socket

sys_sendmsg(int fd, struct user_msghdr *msg, unsigned int flags)
number355 (0x163)
abicommon
entry pointsys_sendmsg
sinceLinux 5.0
man pagesendmsg(2)
sourceelixir.bootlin.com

Registers

registervalue
r3355, 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/sendmsg