keyctl on ia32

manipulate the kernel's key management facility

compat_sys_keyctl(int cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
number288 (0x120)
abii386
kconfigCONFIG_KEYS
familykeys
entry pointcompat_sys_keyctl
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
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.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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