syscall.sh / sh / pkey_free

pkey_free

allocate or free a protection key

sys_pkey_free(int pkey)
number386 (0x182)
abicommon
entry pointsys_pkey_free
sinceLinux 5.1
man pagepkey_free(2)
sourceelixir.bootlin.com

Registers

registervalue
r3386, the syscall number
r4int pkey
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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