syscall.sh / x86 / request_key
request_key
request a key from the kernel's key management facility
sys_request_key(const char *_type, const char *_description, const char *_callout_info, key_serial_t destringid)
| number | 287 (0x11f) |
|---|---|
| abi | i386 |
| entry point | sys_request_key |
| since | Linux 3.3 |
| man page | request_key(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 287, the syscall number |
ebx | const char *_type |
ecx | const char *_description |
edx | const char *_callout_info |
esi | key_serial_t destringid |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 249
- arm64 218
- arm 310
- riscv64 218
- x32 1073742073
- loongarch64 218
- ppc64 270
- ppc 270
- s390x 279
- mips64 5240
- mipsn32 6244
- mipso32 4281
- alpha 440
- arc 218
- csky 218
- hexagon 218
- m68k 280
- microblaze 287
- nios2 218
- openrisc 218
- parisc 265
- sh 286
- sparc 282
- sparc64 282
- xtensa 257
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/request_key