syscall.sh / sh / shmdt

shmdt

System V shared memory operations

sys_shmdt(char *shmaddr)
number398 (0x18e)
abicommon
entry pointsys_shmdt
sinceLinux 5.1
man pageshmdt(2)
sourceelixir.bootlin.com

Registers

registervalue
r3398, the syscall number
r4char *shmaddr
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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