syscall.sh / x32 / msgctl

msgctl

System V message control operations

sys_msgctl(int msqid, int cmd, struct msqid_ds *buf)
number1073741895 (0x40000047)
abicommon
entry pointsys_msgctl
sinceLinux 3.4
man pagemsgctl(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741895, the syscall number
rdiint msqid
rsiint cmd
rdxstruct msqid_ds *buf
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/msgctl