syscall.sh / x32 / shmat

shmat

System V shared memory operations

sys_shmat(int shmid, char *shmaddr, int shmflg)
number1073741854 (0x4000001e)
abicommon
entry pointsys_shmat
sinceLinux 3.4
man pageshmat(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741854, the syscall number
rdiint shmid
rsichar *shmaddr
rdxint shmflg
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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