syscall.sh / mipso32 / shmat

shmat

System V shared memory operations

sys_shmat(int shmid, char *shmaddr, int shmflg)
number4397 (0x112d)
abio32
entry pointsys_shmat
sinceLinux 5.1
man pageshmat(2)
sourceelixir.bootlin.com

Registers

registervalue
v04397, the syscall number
a0int shmid
a1char *shmaddr
a2int shmflg
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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