add_key on frv
add a key to the kernel's key management facility
sys_add_key(const char *_type, const char *_description, const void *_payload, size_t plen, key_serial_t destringid)
| number | 286 (0x11e) |
|---|---|
| abi | common |
| kconfig | CONFIG_KEYS |
| family | keys see the whole family on frv |
| entry point | sys_add_key |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | add_key(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 286, the syscall number |
gr8 | const char *_type |
gr9 | const char *_description |
gr10 | const void *_payload |
gr11 | size_t plen |
gr12 | key_serial_t destringid |
gr8 | the return value |
Then run tira gr0, 0 to enter the kernel.
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 248
- x86 286
- arm64 217
- arm 309
- riscv64 217
- ia32 286
- x32 1073742072
- loongarch64 217
- ppc64 269
- ppc 269
- s390x 278
- mips64 5239
- mipsn32 6243
- mipso32 4280
- alpha 439
- arc 217
- blackfin 286, removed in 4.17
- cris 286, removed in 4.17
- csky 217
- hexagon 217
- ia64 1271, removed in 6.7
- m32r 286, removed in 4.17
- m68k 279
- metag 217, removed in 4.17
- microblaze 286
- mn10300 286, removed in 4.17
- nds32 217, removed in 5.18
- nios2 217
- openrisc 217
- parisc 264
- score 217, removed in 4.17
- sh 285
- sparc 281
- sparc64 281
- tilegx 217, removed in 4.17
- tilepro 217, removed in 4.17
- xtensa 256
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/add_key?kernel=all