syscall.sh / riscv64 / map_shadow_stack
map_shadow_stack
sys_map_shadow_stack(unsigned long addr, unsigned long size, unsigned int flags)
| number | 453 (0x1c5) |
|---|---|
| abi | common |
| entry point | sys_map_shadow_stack |
| since | Linux 6.7 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 453, the syscall number |
a0 | unsigned long addr |
a1 | unsigned long size |
a2 | unsigned int flags |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 453
- x86 453
- arm64 453
- arm 453
- x32 1073742277
- loongarch64 453
- s390x 453
- mips64 5453
- mipsn32 6453
- mipso32 4453
- alpha 563
- arc 453
- csky 453
- hexagon 453
- m68k 453
- microblaze 453
- nios2 453
- openrisc 453
- parisc 453
- sh 453
- sparc 453
- sparc64 453
- xtensa 453
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/map_shadow_stack