syscall.sh / parisc / shmat

shmat

System V shared memory operations

sys_shmat(int shmid, char *shmaddr, int shmflg)
number192 (0xc0)
abicommon
entry pointsys_shmat
sinceLinux 5.0
man pageshmat(2)
sourceelixir.bootlin.com

Registers

registervalue
r20192, the syscall number
r26int shmid
r25char *shmaddr
r24int shmflg
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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