Function report |
Source Code:security\keys\request_key.c |
Create Date:2022-07-28 18:23:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:quest_key_and_link - Request a key and cache it in a keyring.*@type: The type of key we want.*@description: The searchable description of the key.*@domain_tag: The domain in which the key operates.
Proto:struct key *request_key_and_link(struct key_type *type, const char *description, struct key_tag *domain_tag, const void *callout_info, size_t callout_len, void *aux, struct key *dest_keyring, unsigned long flags)
Type:struct key
Parameter:
Type | Parameter | Name |
---|---|---|
struct key_type * | type | |
const char * | description | |
struct key_tag * | domain_tag | |
const void * | callout_info | |
size_t | callout_len | |
void * | aux | |
struct key * | dest_keyring | |
unsigned long | flags |
584 | kenter("%s,%s,%p,%zu,%p,%p,%lx", name, description, callout_info, callout_len, aux, dest_keyring, flags) |
588 | If match_preparse Then |
596 | key = check_cached_key( & ctx) |
597 | If key Then Go to error_free |
606 | If dest_keyring Then |
609 | If ret < 0 Then |
616 | key = key_ref_to_ptr(key_ref) |
617 | If dest_keyring Then |
619 | If ret < 0 Then |
627 | cache_requested_key(key) |
630 | Else |
634 | If Not callout_info Then Go to error_free |
641 | error_free : |
642 | If match_free Then match_free( & match_data) |
644 | error : |
646 | Return key |
Name | Describe |
---|---|
request_key_tag | quest_key_tag - Request a key and wait for construction*@type: Type of key |
request_key_with_auxdata | quest_key_with_auxdata - Request a key with auxiliary data for the upcaller*@type: The type of key we want.*@description: The searchable description of the key.*@domain_tag: The domain in which the key operates. |
SYSCALL_DEFINE4 | Search the process keyrings and keyring trees linked from those for a* matching key. Keyrings must have appropriate Search permission to be* searched.* If a key is found, it will be attached to the destination keyring if there's |
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 |