| Function report | 
| Source Code: security\keys\process_keys.c | Create Date:2022-07-28 18:22:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Get the user session keyring if it exists, but don't create it if it* doesn't.
Proto:struct key *get_user_session_keyring_rcu(const struct cred *cred)
Type:struct key
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct cred * | cred | 
| 201 | If Not reg_keyring Then Return NULL | 
| 208 | session_keyring_r = keyring_search_rcu - Search a keyring tree for a matching key under RCU*@keyring_ref: A pointer to the keyring with possession indicator | 
| 210 | If IS_ERR(session_keyring_r) Then Return NULL | 
| 212 | Return key_ref_to_ptr(session_keyring_r) | 
| Name | Describe | 
|---|---|
| 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 |