Function report |
Source Code:security\keys\process_keys.c |
Create Date:2022-07-28 18:22:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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)
Proto:key_ref_t search_cred_keyrings_rcu(struct keyring_search_context *ctx)
Type:key_ref_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct keyring_search_context * | ctx |
435 | key_ref = NULL |
436 | ret = NULL |
440 | If keyring private to this thread Then |
441 | key_ref = keyring_search_rcu - Search a keyring tree for a matching key under RCU*@keyring_ref: A pointer to the keyring with possession indicator |
451 | Default |
458 | If keyring private to this process Then |
459 | key_ref = keyring_search_rcu - Search a keyring tree for a matching key under RCU*@keyring_ref: A pointer to the keyring with possession indicator |
466 | If ret Then Break |
472 | Default |
479 | If keyring inherited over fork Then |
480 | key_ref = keyring_search_rcu - Search a keyring tree for a matching key under RCU*@keyring_ref: A pointer to the keyring with possession indicator |
488 | If ret Then Break |
494 | Default |
501 | key_ref = keyring_search_rcu - Search a keyring tree for a matching key under RCU*@keyring_ref: A pointer to the keyring with possession indicator |
510 | If ret Then Break |
516 | Default |
525 | found : |
526 | Return key_ref |
Name | Describe |
---|---|
search_process_keyrings_rcu | Search the process keyrings attached to the supplied cred for the first* matching key in the manner of search_my_process_keyrings(), but also search* the keys attached to the assumed authorisation key using its credentials if* one is available. |
proc_keys_show |
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 |