syscall.sh / arm64 / keyctl

keyctl

manipulate the kernel's key management facility

sys_keyctl(int cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
number219 (0xdb)
abicommon
entry pointsys_keyctl
sinceLinux 3.7
man pagekeyctl(2)
sourceelixir.bootlin.com

Registers

registervalue
x8219, the syscall number
x0int cmd
x1unsigned long arg2
x2unsigned long arg3
x3unsigned long arg4
x4unsigned long arg5
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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