syscall.sh / ppc64 / subpage_prot
subpage_prot
define a subpage protection for an address range
sys_subpage_prot(unsigned long addr, unsigned long len, u32 *map)
| number | 310 (0x136) |
|---|---|
| abi | nospu |
| entry point | sys_subpage_prot |
| since | Linux 5.0 |
| man page | subpage_prot(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 310, the syscall number |
r3 | unsigned long addr |
r4 | unsigned long len |
r5 | u32 *map |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- ppc 310
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/subpage_prot