add_key.2: Improve description of key type

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-10-21 12:25:23 +02:00
parent bd73f2bfef
commit 047d68b722
1 changed files with 10 additions and 2 deletions

View File

@ -69,8 +69,16 @@ This specifies the caller's UID-specific keyring.
.B KEY_SPEC_USER_SESSION_KEYRING
This specifies the caller's UID-session keyring.
.SS Key types
There are a number of key types available in the core key management code, and
these can be specified to this function:
The key
.I type
is a string that specifies the key's type.
Internally, the kernel defines a number of key types that are
available in the core key management code.
The following types are available for user-space use,
and can be specified as the
.I type
argument to
.BR add_key ():
.TP
.B \*(lquser\*(rq
Keys of the user-defined key type may contain a blob of arbitrary data, and the