MAN page from Fedora 19 keyutils-libs-1.5.9-1.fc19.i686.rpm
Section: Kernel key management (7)
Updated: 19 Feb 2014Index
process keyring - Per-process shared keyring
is a keyring used to anchor keys on behalf of a process. It is only createdwhen a process requests it.A special serial number value, KEY_SPEC_PROCESS_KEYRING
, is defined thatcan be used in lieu of the calling process's process keyring's actual serialnumber.From the keyctl utility, '@p
' can be used instead of a numeric key ID inmuch the same way, but as keyctl is a program run after forking, this is of noutility.A process's process keyring is inherited across clone() with CLONE_THREAD andis cleared by execve(). The process keyring will be destroyed when the lastthread that refers to it exits.If a process doesn't have a process keyring when it is accessed, then theprocess keyring will be created if the keyring is to be modified, otherwiseerror ENOKEY will be issued.
- SEE ALSO
This document was created byman2html,using the manual pages.