2
.\" Copyright (C) 2013 Red Hat, Inc. All Rights Reserved.
3
.\" Written by David Howells (dhowells@redhat.com)
5
.\" This program is free software; you can redistribute it and/or
6
.\" modify it under the terms of the GNU General Public License
7
.\" as published by the Free Software Foundation; either version
8
.\" 2 of the License, or (at your option) any later version.
10
.TH KEYCTL_INVALIDATE 3 "29 Aug 2013" Linux "Linux Key Management Calls"
11
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
13
keyctl_invalidate \- Invalidate a key
14
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
17
.B #include <keyutils.h>
19
.BI "long keyctl_invalidate(key_serial_t " key ");"
20
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
22
.BR keyctl_invalidate ()
25
The key is scheduled for immediate removal from all the keyrings that point to
26
it, after which it will be deleted. The key will be ignored by all searches
27
once this function is called even if it is not yet fully dealt with.
31
permission on a key to be able to invalidate it.
32
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
35
.BR keyctl_invalidate ()
40
will be returned and errno will have been set to an appropriate error.
41
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
45
The key specified is invalid.
48
The key specified has expired.
51
The key specified had been revoked.
54
The key exists, but is not
56
by the calling process.
57
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
59
This is a library function that can be found in
63
should be specified to the linker.
64
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""