Fix mistake in crypt_set_keyring_to_link documentation.

The keyring_to_link_vk parameter must be prefixed by
either "%:" or "%keyring:" substrings provided caller
opted for text description of the target keyring.
This commit is contained in:
Ondrej Kozina
2024-02-13 11:39:30 +01:00
parent fdac0d7ee2
commit f681194b57

View File

@@ -3135,7 +3135,7 @@ void crypt_safe_memzero(void *data, size_t size);
* *
* @note keyring_to_link_vk may be passed in various string formats: * @note keyring_to_link_vk may be passed in various string formats:
* It can be kernel key numeric id of existing keyring written as a string, * It can be kernel key numeric id of existing keyring written as a string,
* keyring name prefixed optionally be either "%:" or "%keyring:" substrings or keyctl * keyring name prefixed by either "%:" or "%keyring:" substrings or keyctl
* special values for keyrings "@t", "@p", "@s" and so on. See keyctl(1) man page, * special values for keyrings "@t", "@p", "@s" and so on. See keyctl(1) man page,
* section KEY IDENTIFIERS for more information. All other prefixes starting "%<type>:" * section KEY IDENTIFIERS for more information. All other prefixes starting "%<type>:"
* are ignored. * are ignored.