Scroll to navigation

KEYCTL(3) Linux Key Management Calls KEYCTL(3)

NAME

keyctl_*() - Key management function wrappers

DESCRIPTION

The keyctl() system call is a multiplexor for a number of key management functions. These should be called via the wrappers in the libkeyutils library.
The functions can be compiled in by including the keyutils header file:
#include <keyutils.h>
and then telling the linker it should link in the library:
-lkeyutils

KEYCTL FUNCTIONS

keyctl_assume_authority(3)
 
keyctl_chown(3)
 
keyctl_clear(3)
 
keyctl_describe(3)
 
keyctl_describe_alloc(3)
 
keyctl_get_keyring_ID(3)
 
keyctl_get_persistent(3)
 
keyctl_get_security(3)
 
keyctl_get_security_alloc(3)
 
keyctl_instantiate(3)
 
keyctl_instantiate_iov(3)
 
keyctl_invalidate(3)
 
keyctl_join_session_keyring(3)
 
keyctl_link(3)
 
keyctl_negate(3)
 
keyctl_read(3)
 
keyctl_read_alloc(3)
 
keyctl_reject(3)
 
keyctl_revoke(3)
 
keyctl_search(3)
 
keyctl_session_to_parent(3)
 
keyctl_set_reqkey_keyring(3)
 
keyctl_set_timeout(3)
 
keyctl_setperm(3)
 
keyctl_unlink(3)
 
keyctl_update(3)

UTILITY FUNCTIONS

find_key_by_type_and_name(3)
 
recursive_key_scan(3)
 
recursive_session_key_scan(3)

SEE ALSO

keyctl(1),
 
add_key(2),
 
keyctl(2),
 
request_key(2),
 
keyutils(7),
 
keyrings(7)
21 Feb 2014 Linux