shmdt on score
System V shared memory operations
sys_shmdt(char *shmaddr)
| number | 197 (0xc5) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on score |
| entry point | sys_shmdt |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | shmdt(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 197, the syscall number |
r4 | char *shmaddr |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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 67
- x86 398
- arm64 197
- arm 306
- riscv64 197
- ia32 398
- x32 1073741891
- loongarch64 197
- ppc64 398
- ppc 398
- s390x 398
- mips64 5065
- mipsn32 6065
- mipso32 4398
- alpha 211
- arc 197
- blackfin 340, removed in 4.17
- csky 197
- hexagon 197
- ia64 1115, removed in 6.7
- m68k 398
- metag 197, removed in 4.17
- microblaze 337
- nds32 197, removed in 5.18
- nios2 197
- openrisc 197
- parisc 193
- sh 398
- sparc 398
- sparc64 398
- tilegx 197, removed in 4.17
- tilepro 197, removed in 4.17
- xtensa 95
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/shmdt?kernel=all