syscall.sh / ppc64 / munmap
munmap
map or unmap files or devices into memory
sys_munmap(unsigned long addr, size_t len)
| number | 91 (0x5b) |
|---|---|
| abi | common |
| entry point | sys_munmap |
| since | Linux 5.0 |
| man page | munmap(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 91, the syscall number |
r3 | unsigned long addr |
r4 | size_t len |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 11
- x86 91
- arm64 215
- arm 91
- riscv64 215
- x32 1073741835
- loongarch64 215
- ppc 91
- s390x 91
- mips64 5011
- mipsn32 6011
- mipso32 4091
- alpha 73
- arc 215
- csky 215
- hexagon 215
- m68k 91
- microblaze 91
- nios2 215
- openrisc 215
- parisc 91
- sh 91
- sparc 73
- sparc64 73
- xtensa 81
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/munmap