shmget on nds32
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 nds32 |
| entry point | sys_shmget |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | shmget(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 194, the syscall number |
r0 | key_t key |
r1 | size_t size |
r2 | int flag |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. 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
- nios2 194
- openrisc 194
- parisc 194
- score 194, removed in 4.17
- sh 395
- sparc 395
- sparc64 395
- tilegx 194, removed in 4.17
- tilepro 194, removed in 4.17
- xtensa 92
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/shmget?kernel=all