diff options
Diffstat (limited to 'libkeyutils/mini_keyctl_utils.h')
| -rw-r--r-- | libkeyutils/mini_keyctl_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libkeyutils/mini_keyctl_utils.h b/libkeyutils/mini_keyctl_utils.h index 3c6961170..150967ddd 100644 --- a/libkeyutils/mini_keyctl_utils.h +++ b/libkeyutils/mini_keyctl_utils.h @@ -46,3 +46,6 @@ int RestrictKeyring(const std::string& keyring); // information in the descritption section depending on the key type, only the first word in the // keyring description is used for searching. bool GetKeyringId(const std::string& keyring_desc, key_serial_t* keyring_id); + +// Retrieves a key's security context. Return the context string, or empty string on error. +std::string RetrieveSecurityContext(key_serial_t key); |
