syscall.sh / s390x / 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)
number280 (0x118)
abicommon
entry pointsys_keyctl
sinceLinux 4.16
man pagekeyctl(2)
sourceelixir.bootlin.com

Registers

registervalue
r1280, the syscall number
r2int cmd
r3unsigned long arg2
r4unsigned long arg3
r5unsigned long arg4
r6unsigned long arg5
r2the 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/s390x/keyctl