syscall.sh / xtensa / 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)
number258 (0x102)
abicommon
entry pointsys_keyctl
sinceLinux 5.0
man pagekeyctl(2)
sourceelixir.bootlin.com

Registers

registervalue
a2258, the syscall number
a6int cmd
a3unsigned long arg2
a4unsigned long arg3
a5unsigned long arg4
a8unsigned long arg5
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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