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)
| number | 288 (0x120) |
|---|---|
| abi | i386 |
| kconfig | CONFIG_KEYS |
| family | keys |
| entry point | compat_sys_keyctl |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for ia32) |
| man page | keyctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 288, the syscall number |
ebx | int cmd |
ecx | unsigned long arg2 |
edx | unsigned long arg3 |
esi | unsigned long arg4 |
edi | unsigned long arg5 |
eax | the 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
- x64 250
- x86 288
- arm64 219
- arm 311
- riscv64 219
- x32 1073742074
- loongarch64 219
- ppc64 271
- ppc 271
- s390x 280
- mips64 5241
- mipsn32 6245
- mipso32 4282
- alpha 441
- arc 219
- csky 219
- hexagon 219
- m68k 281
- microblaze 288
- nios2 219
- openrisc 219
- parisc 266
- sh 287
- sparc 283
- sparc64 283
- xtensa 258
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/keyctl