syscall.sh / m68k / 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)
number279 (0x117)
abicommon
entry pointsys_add_key
sinceLinux 5.0
man pageadd_key(2)
sourceelixir.bootlin.com

Registers

registervalue
d0279, the syscall number
d1const char *_type
d2const char *_description
d3const void *_payload
d4size_t plen
d5key_serial_t destringid
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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