syscall.sh / x32 / shmctl

shmctl

System V shared memory control

sys_shmctl(int shmid, int cmd, struct shmid_ds *buf)
number1073741855 (0x4000001f)
abicommon
entry pointsys_shmctl
sinceLinux 3.4
man pageshmctl(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741855, the syscall number
rdiint shmid
rsiint cmd
rdxstruct shmid_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/shmctl