Function nc::add_key

source ·
pub unsafe fn add_key<P: AsRef<Path>>(
    type_: P,
    description: P,
    payload: usize,
    plen: size_t,
    dest_keyring: key_serial_t
) -> Result<key_serial_t, Errno>
Expand description

Add a key to the kernel’s key management facility.