Function report |
Source Code:security\keys\keyring.c |
Create Date:2022-07-28 18:17:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:keyring_search_rcu - Search a keyring tree for a matching key under RCU*@keyring_ref: A pointer to the keyring with possession indicator
Proto:key_ref_t keyring_search_rcu(key_ref_t keyring_ref, struct keyring_search_context *ctx)
Type:key_ref_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| key_ref_t | keyring_ref | |
| struct keyring_search_context * | ctx |
| 910 | possessed = is_key_possessed(keyring_ref) |
| 913 | keyring = key_ref_to_ptr(keyring_ref) |
| 916 | If type of key != key_type_keyring Then Return ERR_PTR( - ENOTDIR) |
| 919 | If Not (flags & Don't check permissions ) Then |
| 926 | If Search a tree of keyrings that point to other keyrings up to the maximum* depth. Then __key_get(key_ref_to_ptr(result)) |
| 928 | Return result |
| Name | Describe |
|---|---|
| keyring_search | keyring_search - Search the supplied keyring tree for a matching key*@keyring: The root of the keyring tree to be searched |
| get_user_session_keyring_rcu | Get the user session keyring if it exists, but don't create it if it* doesn't. |
| search_cred_keyrings_rcu | Search the process keyrings attached to the supplied cred for the first* matching key under RCU conditions (the caller must be holding the RCU read* lock) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |