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)
| number | 288 (0x120) |
|---|---|
| abi | i386 |
| entry point | sys_keyctl |
| since | Linux 3.3 |
| 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.
Same syscall on other architectures
- x64 250
- 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/x86/keyctl