Unix and Linux Discussions Tagged with key |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
10 |
10,077 |
Shell Programming and Scripting |
|
|
|
7 |
37,322 |
Solaris |
|
|
|
7 |
12,065 |
Shell Programming and Scripting |
|
|
|
5 |
1,739 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,294 |
Shell Programming and Scripting |
|
|
|
0 |
3,708 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
10,953 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
31,591 |
Shell Programming and Scripting |
|
|
|
4 |
7,017 |
Shell Programming and Scripting |
|
|
|
33 |
12,218 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,147 |
Shell Programming and Scripting |
|
|
|
2 |
5,130 |
Shell Programming and Scripting |
|
|
|
3 |
6,202 |
Solaris |
|
|
|
6 |
6,548 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,313 |
Shell Programming and Scripting |
|
|
|
3 |
8,152 |
Shell Programming and Scripting |
|
|
|
4 |
5,903 |
Red Hat |
|
|
|
0 |
1,064 |
Software Releases - RSS News |
|
|
|
6 |
4,998 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
8,346 |
Shell Programming and Scripting |
|
|
|
0 |
1,287 |
Complex Event Processing RSS News |
|
|
|
0 |
1,085 |
Software Releases - RSS News |
|
|
|
4 |
5,288 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,045 |
OS X Support RSS |
|
|
|
0 |
2,245 |
IT Security RSS |
|
|
|
1 |
3,069 |
Cybersecurity |
|
|
|
0 |
3,267 |
Shell Programming and Scripting |
|
|
|
1 |
3,551 |
Linux |
|
|
|
18 |
5,692 |
Shell Programming and Scripting |
|
|
|
1 |
1,924 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,254 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
4,336 |
Shell Programming and Scripting |
|
|
|
0 |
837 |
Software Releases - RSS News |
|
|
|
0 |
940 |
Software Releases - RSS News |
|
|
|
0 |
940 |
Software Releases - RSS News |
|
|
|
2 |
2,484 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,232 |
Shell Programming and Scripting |
|
|
|
4 |
13,014 |
Solaris |
|
|
|
1 |
2,882 |
Shell Programming and Scripting |
|
|
|
0 |
1,043 |
Software Releases - RSS News |
KEYCTL_INVALIDATE(3) Linux Key Management Calls KEYCTL_INVALIDATE(3)
NAME
keyctl_invalidate - Invalidate a key
SYNOPSIS
#include <keyutils.h>
long keyctl_invalidate(key_serial_t key);
DESCRIPTION
keyctl_invalidate() invalidates a key. The key is scheduled for immediate removal from all the keyrings that point to it, after which it
will be deleted. The key will be ignored by all searches once this function is called even if it is not yet fully dealt with.
The caller must have search permission on a key to be able to invalidate it.
RETURN VALUE
On success keyctl_invalidate() returns 0. On error, the value -1 will be returned and errno will have been set to an appropriate error.
ERRORS
ENOKEY The key specified is invalid.
EKEYEXPIRED
The key specified has expired.
EKEYREVOKED
The key specified had been revoked.
EACCES The key exists, but is not searchable by the calling process.
LINKING
This is a library function that can be found in libkeyutils. When linking, -lkeyutils should be specified to the linker.
SEE ALSO
keyctl(1),
add_key(2),
keyctl(2),
request_key(2),
keyctl(3),
request-key(8)
Linux 29 Aug 2013 KEYCTL_INVALIDATE(3)