syscall.sh / xtensa / shmat

shmat

System V shared memory operations

xtensa_shmat(int shmid, char *shmaddr, int shmflg)
number93 (0x5d)
abicommon
entry pointxtensa_shmat
sinceLinux 5.0
man pageshmat(2)
sourceelixir.bootlin.com

Registers

registervalue
a293, the syscall number
a6int shmid
a3char *shmaddr
a4int shmflg
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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