keyctl.2: Add EPERM error for KEYCTL_GET_PERSISTENT

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-02 12:12:57 +01:00
parent 46c0179ab7
commit 737d8596fd
1 changed files with 10 additions and 0 deletions

View File

@ -1602,6 +1602,16 @@ and the key type does not support updating.
.B EPERM
.I operation
was
.BR KEYCTL_GET_PERSISTENT ,
.I arg2
specified a UID other than the calling thread's real or effective UID,
and the caller did not have the
.B CAP_SETUID
capability.
.TP
.B EPERM
.I operation
was
.BR KEYCTL_SESSION_TO_PARENT
and either:
all of the UIDs (GIDs) of the parent process do not match