syscall.sh / arm / msgrcv

msgrcv

System V message queue operations

sys_msgrcv(int msqid, struct msgbuf *msgp, size_t msgsz, long msgtyp, int msgflg)
number302 (0x12e)
abicommon
entry pointsys_msgrcv
sinceLinux 4.10
man pagemsgrcv(2)
sourceelixir.bootlin.com

Registers

registervalue
r7302, the syscall number
r0int msqid
r1struct msgbuf *msgp
r2size_t msgsz
r3long msgtyp
r4int msgflg
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/msgrcv