Package keyutils-libs-devel

Development package for building Linux key management utilities

http://people.redhat.com/~dhowells/keyutils/

This package provides headers and libraries for building key utilities.

Library Functions (Section 3)
find_key_by_type_and_name
find_key_by_type_and_name() searches for a key with the given type and exact description, firstly in the thread, process and session keyrings to which a process...
keyctl
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.
keyctl_chown
keyctl_chown() changes the user and group ownership details of a key. A setting of -1 on either uid or gid will cause that setting to be ignored. A process that...
keyctl_clear
keyctl_clear() clears the contents of a keyring. The caller must have write permission on a keyring to be able clear it.
keyctl_describe
keyctl_describe() describes the attributes of a key as a NUL-terminated string. The caller must have view permission on a key to be able to get a description of...
keyctl_get_keyring_ID
keyctl_get_keyring_ID() maps a special key or keyring ID to the serial number of the key actually representing that feature. The serial number will be returned...
keyctl_get_persistent
keyctl_get_persistent() gets the persistent keyring for the specified user ID. Unlike the session and user keyrings, this keyring will persist once all login...
keyctl_get_security
keyctl_get_security() retrieves the security context of a key as a NUL-terminated string. This will be rendered in a form appropriate to the LSM in force - for...
keyctl_instantiate
keyctl_assume_authority() assumes the authority for the calling thread to deal with and instantiate the specified uninstantiated key. The calling thread must...
keyctl_invalidate
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...
keyctl_join_session_keyring
keyctl_join_session_keyring() changes the session keyring to which a process is subscribed. If name is NULL then a new anonymous keyring will be created, and...
keyctl_link
keyctl_link() creates a link from keyring to key, displacing any link to another key of the same type and description in that keyring if one exists...
keyctl_read
keyctl_read() reads the payload of a key if the key type supports it. The caller must have read permission on a key to be able to read it. buffer and buflen...
keyctl_revoke
keyctl_revoke() marks a key as being revoked. After this operation has been performed on a key, attempts to access it will meet with error EKEYREVOKED. The...
keyctl_search
keyctl_search() recursively searches the keyring for a key of the specified type and description. If found, the key will be attached to the destination keyring...
keyctl_session_to_parent
keyctl_session_to_parent() changes the session keyring to which the calling process's parent subscribes to be the that of the calling process. The keyring must...
keyctl_setperm
keyctl_setperm() changes the permissions mask on a key. A process that does not have the SysAdmin capability may not change the permissions mask on a key that...
keyctl_set_reqkey_keyring
keyctl_set_reqkey_keyring() sets the default destination for implicit key requests for the current thread and returns the old setting. After this operation has...
keyctl_set_timeout
keyctl_set_timeout() sets the expiration timer on a key to timeout seconds into the future. Setting timeout to zero cancels the expiration, assuming the key...
keyctl_update
keyctl_update() updates the payload of a key if the key type permits it. The caller must have write permission on a key to be able update it. payload and plen...
recursive_key_scan
recursive_key_scan() performs a depth-first recursive scan of the specified keyring tree and applies func to every link found in the accessible keyrings in that...