Section (7) thread-keyring
thread-keyring — per-thread keyring
The thread keyring is a keyring used to anchor keys on
behalf of a process. It is created only when a thread
requests it. The thread keyring has the name (description)
A special serial number value,
KEY_SPEC_THREAD_KEYRING, is defined that
can be used in lieu of the actual serial number of the
calling thread_zsingle_quotesz_s thread keyring.
From the keyctl(1) utility, _zsingle_quotesz_
@t_zsingle_quotesz_ can be used instead of a
numeric key ID in much the same way, but as keyctl(1) is a program run
after forking, this is of no utility.
Initially, a thread does not have a thread keyring. If a thread doesn_zsingle_quotesz_t have a thread keyring when it is accessed, then it will be created if it is to be modified; otherwise the operation fails with the error ENOKEY.
This page is part of release 5.04 of the Linux
man-pages project. A
description of the project, information about reporting bugs,
and the latest version of this page, can be found at
Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
Written by David Howells (dhowellsredhat.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
2 of the License, or (at your option) any later version.