Copyright (C) 2014 Red Hat, Inc. All Rights Reserved. Written by David Howells (email@example.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version.
NAMEkeyutils - In-kernel key management utilities
DESCRIPTIONThe keyutils package is a library and a set of utilities for accessing the kernel keyrings facility. A header file is supplied to provide the definitions and declarations required to access the library:
- #include <keyutils.h>
- Supply a new key to the kernel.
- Find an existing key for use, or, optionally, create one if one does not exist.
- Control a key in various ways. The library provides a variety of wrappers around this system call and those should be used rather than calling it directly. See the add_key(2), request_key(2), and keyctl(2) manual pages for more information. The keyctl() wrappers are listed on the keyctl(3) manual page.
UTILITIESA program is provided to interact with the kernel facility by a number of subcommands, e.g.:
- keyctl add user foo bar @s