syscall.sh / x86 / 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)
abii386
entry pointsys_keyctl
sinceLinux 3.3
man pagekeyctl(2)
sourceelixir.bootlin.com

Registers

registervalue
eax288, the syscall number
ebxint cmd
ecxunsigned long arg2
edxunsigned long arg3
esiunsigned long arg4
ediunsigned long arg5
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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