syscall.sh / s390x / shmdt
shmdt
System V shared memory operations
sys_shmdt(char *shmaddr)
| number | 398 (0x18e) |
|---|---|
| abi | common |
| entry point | sys_shmdt |
| since | Linux 5.1 |
| man page | shmdt(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 398, the syscall number |
r2 | char *shmaddr |
r2 | the return value |
Then run svc 0 to enter the kernel.
Same syscall on other architectures
- x64 67
- x86 398
- arm64 197
- arm 306
- riscv64 197
- x32 1073741891
- loongarch64 197
- ppc64 398
- ppc 398
- mips64 5065
- mipsn32 6065
- mipso32 4398
- alpha 211
- arc 197
- csky 197
- hexagon 197
- m68k 398
- microblaze 337
- nios2 197
- openrisc 197
- parisc 193
- sh 398
- sparc 398
- sparc64 398
- xtensa 95
Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/shmdt