Section: Linux Key Management Calls (3) Updated: 4 May 2006 Local index
keyctl_revoke - Revoke a key
long keyctl_revoke(key_serial_t key);
marks a key as being revoked.
After this operation has been performed on a key, attempts to access it will
meet with error
The caller must have
permission on a key to be able revoke it.
On error, the value
will be returned and errno will have been set to an appropriate error.
The specified key does not exist.
The key has already been revoked.
The named key exists, but is not
by the calling process.
This is a library function that can be found in
should be specified to the linker.
- RETURN VALUE
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:48:55 GMT, April 16, 2011