keyctl_set_timeout() sets the expiration timer on a key to timeout
seconds into the future. Setting timeout to zero cancels the
expiration, assuming the key hasn't already expired.
When the key expires, further attempts to access it will be met with
The caller must have setattr permission on a key to be able change
its permissions mask.
ENOKEY The specified key does not exist.
The specified key has already expired.
The specified key has been revoked.
EACCES The named key exists, but does not grant setattr permission to
the calling process.
This page is part of the keyutils (key management utilities) project.
Information about the project can be found at [unknown -- if you
know, please contact firstname.lastname@example.org] If you have a bug report for
this manual page, send it to email@example.com. This page was
obtained from the project's upstream Git repository
on 2016-07-16. If you discover any rendering problems in this HTML
version of the page, or you believe there is a better or more up-to-
date source for the page, or you have corrections or improvements to
the information in this COLOPHON (which is not part of the original
manual page), send a mail to firstname.lastname@example.org
Linux 4 May 2006 KEYCTL_SET_TIMEOUT(3)