1 .\" Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
2 .\" Written by David Howells (dhowells@redhat.com)
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .TH thread-keyring 7 (date) "Linux man-pages (unreleased)"
8 thread-keyring \- per-thread keyring
10 The thread keyring is a keyring used to anchor keys on behalf of a process.
11 It is created only when a thread requests it.
12 The thread keyring has the name (description)
15 A special serial number value,
16 .BR KEY_SPEC_THREAD_KEYRING ,
17 is defined that can be used in lieu of the actual serial number of
18 the calling thread's thread keyring.
22 utility, '\fB@t\fP' can be used instead of a numeric key ID in
23 much the same way, but as
25 is a program run after forking, this is of no utility.
27 Thread keyrings are not inherited across
33 A thread keyring is destroyed when the thread that refers to it terminates.
35 Initially, a thread does not have a thread keyring.
36 If a thread doesn't have a thread keyring when it is accessed,
37 then it will be created if it is to be modified;
38 otherwise the operation fails with the error
46 .BR persistent\-keyring (7),
47 .BR process\-keyring (7),
48 .BR session\-keyring (7),
49 .BR user\-keyring (7),
50 .BR user\-session\-keyring (7)