text
stringlengths
0
234
and the
.i __spare
field of the
.i struct keyctl_kdf_params
provided in the
.i arg5
argument contains nonzero values.
.tp
.b ekeyexpired
an expired key was found or specified.
.tp
.b ekeyrejected
a rejected key was found or specified.
.tp
.b ekeyrevoked
a revoked key was found or specified.
.tp
.b eloop
.i operation
was
.br keyctl_link
and the requested link would cause the maximum nesting depth
for keyrings to be exceeded.
.tp
.b emsgsize
.i operation
was
.b keyctl_dh_compute
and the buffer length exceeds
.b keyctl_kdf_max_output_len
(which is 1024 currently)
or the
.i otherinfolen
field of the
.i struct keyctl_kdf_parms
passed in
.i arg5
exceeds
.b keyctl_kdf_max_oi_len
(which is 64 currently).
.tp
.br enfile " (linux kernels before 3.13)"
.ir operation
was
.br keyctl_link
and the keyring is full.
(before linux 3.13,
.\" commit b2a4df200d570b2c33a57e1ebfa5896e4bc81b69
the available space for storing keyring links was limited to
a single page of memory; since linux 3.13, there is no fixed limit.)
.tp
.b enoent
.i operation
was
.b keyctl_unlink
and the key to be unlinked isn't linked to the keyring.
.tp
.b enoent
.i operation
was
.b keyctl_dh_compute
and the hashing algorithm specified in the
.i hashname
field of the
.i struct keyctl_kdf_params
pointed by
.i arg5
argument hasn't been found.
.tp
.b enoent
.i operation
was
.b keyctl_restrict_keyring
and the type provided in
.i arg3
argument doesn't support setting key linking restrictions.
.tp
.b enokey
no matching key was found or an invalid key was specified.
.tp
.b enokey
the value
.b keyctl_get_keyring_id
was specified in
.ir operation ,
the key specified in
.i arg2
did not exist, and
.i arg3
was zero (meaning don't create the key if it didn't exist).
.tp
.b enomem
one of kernel memory allocation routines failed during the execution of the
syscall.
.tp
.b enotdir
a key of keyring type was expected but the id of a key with
a different type was provided.
.tp
.b eopnotsupp