keyctl_update() updates the payload of a key if the key type permits
The caller must have write permission on a key to be able update it.
payload and plen specify the data for the new payload. payload may
be NULL and plen may be zero if the key type permits that. The key
type may reject the data if it's in the wrong format or in some other
ENOKEY The key specified is invalid.
The key specified has expired.
The key specified had been revoked.
EINVAL The payload data was invalid.
ENOMEM Insufficient memory to store the new payload.
EDQUOT The key quota for this user would be exceeded by increasing
the size of the key to accommodate the new payload.
EACCES The key exists, but is not writable by the calling process.
The key type does not support the update operation on its
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 email@example.com] If you have a bug report for
this manual page, send it to firstname.lastname@example.org. This page was
obtained from the project's upstream Git repository
on 2016-10-04. 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 email@example.com
Linux 4 May 2006 KEYCTL_UPDATE(3)