syscall.sh / loongarch64 / keyctl
keyctl
manipulate the kernel's key management facility
sys_keyctl(int cmd, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5)
| number | 219 (0xdb) |
|---|---|
| abi | common |
| entry point | sys_keyctl |
| since | Linux 5.19 |
| man page | keyctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 219, the syscall number |
a0 | int cmd |
a1 | unsigned long arg2 |
a2 | unsigned long arg3 |
a3 | unsigned long arg4 |
a4 | unsigned long arg5 |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 250
- x86 288
- arm64 219
- arm 311
- riscv64 219
- x32 1073742074
- ppc64 271
- ppc 271
- s390x 280
- mips64 5241
- mipsn32 6245
- mipso32 4282
- alpha 441
- arc 219
- csky 219
- hexagon 219
- m68k 281
- microblaze 288
- nios2 219
- openrisc 219
- parisc 266
- sh 287
- sparc 283
- sparc64 283
- xtensa 258
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/keyctl