shmctl on blackfin
System V shared memory control
sys_shmctl(int shmid, int cmd, struct shmid_ds *buf)
| number | 339 (0x153) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on blackfin |
| entry point | sys_shmctl |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | shmctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 339, the syscall number |
R0 | int shmid |
R1 | int cmd |
R2 | struct shmid_ds *buf |
R0 | the return value |
Then run excpt 0 to enter the kernel.
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
- 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
- tilegx 195, removed in 4.17
- tilepro 195, removed in 4.17
- xtensa 94
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/shmctl?kernel=all