syscall.sh / sparc64 / shmat

shmat

System V shared memory operations

sys_shmat(int shmid, char *shmaddr, int shmflg)
number397 (0x18d)
abicommon
entry pointsys_shmat
sinceLinux 5.1
man pageshmat(2)
sourceelixir.bootlin.com

Registers

registervalue
g1397, the syscall number
o0int shmid
o1char *shmaddr
o2int shmflg
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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