syscall.sh / openrisc / 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
r11219, the syscall number
r3int cmd
r4unsigned long arg2
r5unsigned long arg3
r6unsigned long arg4
r7unsigned long arg5
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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