keyctl.2: KEYCTL_SET_REQKEY_KEYRING also has an effect for request_key(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-17 14:31:06 +01:00
parent 0978f70669
commit 60be6628fa
1 changed files with 4 additions and 4 deletions

View File

@ -889,10 +889,6 @@ via the function
.TP .TP
.BR KEYCTL_SET_REQKEY_KEYRING " (since Linux 2.6.13)" .BR KEYCTL_SET_REQKEY_KEYRING " (since Linux 2.6.13)"
Set the default keyring to which implicitly requested keys Set the default keyring to which implicitly requested keys
.\" FIXME
.\" Does this operation have any effect for the request_key(2) system call?
.\"
.\" David Howells: to be checked
will be linked for this thread, and return the previous setting. will be linked for this thread, and return the previous setting.
Implicit key requests are those made by internal kernel components, Implicit key requests are those made by internal kernel components,
.\" I.e., calls to the kernel's internal request_key() interface, .\" I.e., calls to the kernel's internal request_key() interface,
@ -900,6 +896,10 @@ Implicit key requests are those made by internal kernel components,
.\" ultimately employs the kernel-internal interface). .\" ultimately employs the kernel-internal interface).
such as can occur when, for example, opening files such as can occur when, for example, opening files
on an AFS or NFS filesystem. on an AFS or NFS filesystem.
Setting the default keyring also has an effect when requesting
a key from user space; see
.BR request_key (2)
for details.
The The
.I arg2 .I arg2