syscall.sh / ppc64 / 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)
number269 (0x10d)
abinospu
entry pointsys_add_key
sinceLinux 5.0
man pageadd_key(2)
sourceelixir.bootlin.com

Registers

registervalue
r0269, the syscall number
r3const char *_type
r4const char *_description
r5const void *_payload
r6size_t plen
r7key_serial_t destringid
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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