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

Registers

registervalue
r12288, the syscall number
r5int cmd
r6unsigned long arg2
r7unsigned long arg3
r8unsigned long arg4
r9unsigned long arg5
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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