syscall.sh / csky / shmdt

shmdt

System V shared memory operations

sys_shmdt(char *shmaddr)
number197 (0xc5)
abicommon
entry pointsys_shmdt
sinceLinux 4.20
man pageshmdt(2)
sourceelixir.bootlin.com

Registers

registervalue
r7197, the syscall number
a0char *shmaddr
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/shmdt