shmget on tilepro
allocates a System V shared memory segment
sys_shmget(key_t key, size_t size, int flag)
| number | 194 (0xc2) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on tilepro |
| entry point | sys_shmget |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | shmget(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 194, the syscall number |
r0 | key_t key |
r1 | size_t size |
r2 | int flag |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 29
- x86 395
- arm64 194
- arm 307
- riscv64 194
- ia32 395
- x32 1073741853
- loongarch64 194
- ppc64 395
- ppc 395
- s390x 395
- mips64 5028
- mipsn32 6028
- mipso32 4395
- alpha 212
- arc 194
- blackfin 341, removed in 4.17
- csky 194
- hexagon 194
- ia64 1113, removed in 6.7
- m68k 395
- metag 194, removed in 4.17
- microblaze 338
- nds32 194, removed in 5.18
- nios2 194
- openrisc 194
- parisc 194
- score 194, removed in 4.17
- sh 395
- sparc 395
- sparc64 395
- tilegx 194, removed in 4.17
- xtensa 92
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/shmget?kernel=all