syscall.sh / parisc / pkey_mprotect

pkey_mprotect

set protection on a region of memory

sys_pkey_mprotect(unsigned long start, size_t len, unsigned long prot, int pkey)
number351 (0x15f)
abicommon
entry pointsys_pkey_mprotect
sinceLinux 5.1
man pagepkey_mprotect(2)
sourceelixir.bootlin.com

Registers

registervalue
r20351, the syscall number
r26unsigned long start
r25size_t len
r24unsigned long prot
r23int pkey
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/pkey_mprotect