syscall.sh / x86 / pkey_free

pkey_free

allocate or free a protection key

sys_pkey_free(int pkey)
number382 (0x17e)
abii386
entry pointsys_pkey_free
sinceLinux 4.9
man pagepkey_free(2)
sourceelixir.bootlin.com

Registers

registervalue
eax382, the syscall number
ebxint pkey
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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