keyctl_get_keyring_ID() maps a special key or keyring ID to the
serial number of the key actually representing that feature. The
serial number will be returned if that key exists.
If the key or keyring does not yet exist, then if create is non-zero,
the key or keyring will be created if it is appropriate to do so.
The following special key IDs may be specified as key:
This specifies the caller's thread-specific keyring.
This specifies the caller's process-specific keyring.
This specifies the caller's session-specific keyring.
This specifies the caller's UID-specific keyring.
This specifies the caller's UID-session keyring.
This specifies the authorisation key created by request_key()
and passed to the process it spawns to generate a key.
If a valid keyring ID is passed in, then this will simply be returned
if the key exists; an error will be issued if it doesn't exist.
This page is part of the keyutils (key management utilities) project.
Information about the project can be found at [unknown -- if you
know, please contact firstname.lastname@example.org] If you have a bug report for
this manual page, send it to email@example.com. This page was
obtained from the project's upstream Git repository
on 2016-09-01. If you discover any rendering problems in this HTML
version of the page, or you believe there is a better or more up-to-
date source for the page, or you have corrections or improvements to
the information in this COLOPHON (which is not part of the original
manual page), send a mail to firstname.lastname@example.org
Linux 4 May 2006 KEYCTL_GET_KEYRING_ID(3)