request_key on score
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 | 218 (0xda) |
|---|---|
| abi | common |
| kconfig | CONFIG_KEYS |
| family | keys see the whole family on score |
| entry point | sys_request_key |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | request_key(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 218, the syscall number |
r4 | const char *_type |
r5 | const char *_description |
r6 | const char *_callout_info |
r7 | key_serial_t destringid |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 249
- x86 287
- arm64 218
- arm 310
- riscv64 218
- ia32 287
- x32 1073742073
- loongarch64 218
- ppc64 270
- ppc 270
- s390x 279
- mips64 5240
- mipsn32 6244
- mipso32 4281
- alpha 440
- arc 218
- blackfin 287, removed in 4.17
- cris 287, removed in 4.17
- csky 218
- frv 287, removed in 4.17
- hexagon 218
- ia64 1272, removed in 6.7
- m32r 287, removed in 4.17
- m68k 280
- metag 218, removed in 4.17
- microblaze 287
- mn10300 287, removed in 4.17
- nds32 218, removed in 5.18
- nios2 218
- openrisc 218
- parisc 265
- sh 286
- sparc 282
- sparc64 282
- tilegx 218, removed in 4.17
- tilepro 218, removed in 4.17
- xtensa 257
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/request_key?kernel=all