syscall.sh / arm / sendmsg

sendmsg

send a message on a socket

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

Registers

registervalue
r7296, the syscall number
r0int fd
r1struct user_msghdr *msg
r2unsigned int flags
r0the 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/arm/sendmsg