syscall.sh / alpha / osf_shmat
osf_shmat
sys_shmat(int shmid, char *shmaddr, int shmflg)
This syscall was removed in Linux 5.1.
| number | 209 (0xd1) |
|---|---|
| abi | common |
| entry point | sys_shmat |
| since | Linux 5.0 |
| removed in | Linux 5.1 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 209, the syscall number |
a0 | int shmid |
a1 | char *shmaddr |
a2 | int shmflg |
v0 | the return value |
Then run callsys to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/osf_shmat