shmctl on tilegx
System V shared memory control
sys_shmctl(int shmid, int cmd, struct shmid_ds *buf)
| number | 195 (0xc3) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on tilegx |
| entry point | sys_shmctl |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | shmctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 195, the syscall number |
r0 | int shmid |
r1 | int cmd |
r2 | struct shmid_ds *buf |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
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 31
- x86 396
- arm64 195
- arm 308
- riscv64 195
- ia32 396
- x32 1073741855
- loongarch64 195
- ppc64 396
- ppc 396
- s390x 396
- mips64 5030
- mipsn32 6030
- mipso32 4396
- alpha 210
- arc 195
- blackfin 339, removed in 4.17
- csky 195
- hexagon 195
- ia64 1116, removed in 6.7
- m68k 396
- metag 195, removed in 4.17
- microblaze 336
- nds32 195, removed in 5.18
- nios2 195
- openrisc 195
- parisc 195
- score 195, removed in 4.17
- sh 396
- sparc 396
- sparc64 396
- tilepro 195, removed in 4.17
- xtensa 94
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/shmctl?kernel=all