add_key on ia64
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 | 1271 (0x4f7) |
|---|---|
| abi | common |
| kconfig | CONFIG_KEYS |
| family | keys see the whole family on ia64 |
| entry point | sys_add_key |
| since | Linux 5.0 or earlier (5.0 is the first release scanned for ia64) |
| man page | add_key(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 1271, the syscall number |
out0 | const char *_type |
out1 | const char *_description |
out2 | const void *_payload |
out3 | size_t plen |
out4 | key_serial_t destringid |
r8 | the return value |
Then run break 0x100000 to enter the kernel.
The kernel uses r10 to signal an error.
The pipe call returns file descriptors in r8 and r9.
This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. 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
- frv 286, removed in 4.17
- hexagon 217
- 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/ia64/add_key?kernel=all