syscall.sh / x64 / msgctl

msgctl

System V message control operations

sys_msgctl(int msqid, int cmd, struct msqid_ds *buf)
number71 (0x47)
abicommon
entry pointsys_msgctl
sinceLinux 3.3
man pagemsgctl(2)
sourceelixir.bootlin.com

Registers

registervalue
rax71, 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/x64/msgctl