syscall.sh / arm / shmat

shmat

System V shared memory operations

sys_shmat(int shmid, char *shmaddr, int shmflg)
number305 (0x131)
abicommon
entry pointsys_shmat
sinceLinux 4.10
man pageshmat(2)
sourceelixir.bootlin.com

Registers

registervalue
r7305, the syscall number
r0int shmid
r1char *shmaddr
r2int shmflg
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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