syscall.sh / x64 / pkey_free

pkey_free

allocate or free a protection key

sys_pkey_free(int pkey)
number331 (0x14b)
abicommon
entry pointsys_pkey_free
sinceLinux 4.9
man pagepkey_free(2)
sourceelixir.bootlin.com

Registers

registervalue
rax331, the syscall number
rdiint pkey
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/pkey_free