syscall.sh / mipsn32 / add_key

add_key

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)
number6243 (0x1863)
abin32
entry pointsys_add_key
sinceLinux 5.0
man pageadd_key(2)
sourceelixir.bootlin.com

Registers

registervalue
v06243, the syscall number
a0const char *_type
a1const char *_description
a2const void *_payload
a3size_t plen
a4key_serial_t destringid
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/add_key