|KEYCTL_REVOKE(3)||Linux Key Management Calls||KEYCTL_REVOKE(3)|
#include <keyutils.h> long keyctl_revoke(key_serial_t key);
After this operation has been performed on a key, attempts to access it will meet with error EKEYREVOKED.
The caller must have write permission on a key to be able to revoke it.
- The specified key does not exist.
- The key has already been revoked.
- The named key exists, but is not writable by the calling process.
|4 May 2006||Linux|