request_key on metag
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 metag |
| entry point | sys_request_key |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | request_key(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 218, the syscall number |
D1Ar1 | const char *_type |
D0Ar2 | const char *_description |
D1Ar3 | const char *_callout_info |
D0Ar4 | key_serial_t destringid |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- microblaze 287
- mn10300 287, removed in 4.17
- nds32 218, removed in 5.18
- nios2 218
- openrisc 218
- parisc 265
- score 218, removed in 4.17
- 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/metag/request_key?kernel=all