函数逻辑报告 |
Source Code:security\keys\request_key.c |
Create Date:2022-07-27 19:58:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型: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)
返回类型:struct key
参数:
类型 | 参数 | 名称 |
---|---|---|
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 | 如果match_preparse则 |
596 | key等于check_cached_key( & ctx) |
597 | 如果key则转到:error_free |
605 | 如果非是错误则 |
606 | 如果dest_keyring则 |
609 | 如果ret小于0则 |
616 | key等于key_ref_to_ptr(key_ref) |
617 | 如果dest_keyring则 |
619 | 如果ret小于0则 |
627 | cache_requested_key(key) |
630 | 否则 |
641 | error_free : |
642 | 如果match_free则match_free( & match_data) |
644 | error : |
646 | 返回:key |
名称 | 描述 |
---|---|
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |