syscall.sh / alpha / 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)
number524 (0x20c)
abicommon
entry pointsys_pkey_mprotect
sinceLinux 5.1
man pagepkey_mprotect(2)
sourceelixir.bootlin.com

Registers

registervalue
v0524, the syscall number
a0unsigned long start
a1size_t len
a2unsigned long prot
a3int pkey
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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