函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\request_key.c Create Date:2022-07-27 19:58:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:quest_key_tag - Request a key and wait for construction*@type: Type of key

函数原型:struct key *request_key_tag(struct key_type *type, const char *description, struct key_tag *domain_tag, const char *callout_info)

返回类型:struct key

参数:

类型参数名称
struct key_type *type
const char *description
struct key_tag *domain_tag
const char *callout_info
696  callout_len等于0
699  如果callout_infocallout_len等于strlen - Find the length of a string*@s: The string to be sized
701  key等于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.
704  如果非是错误
705  ret等于wait_for_key_construction - Wait for construction of a key to complete*@key: The key being waited for
706  如果ret小于0则
708  返回:错误号
711  返回:key
调用者
名称描述
request_keyquest_key - Request a key and wait for construction*@type: Type of key.*@description: The searchable description of the key.*@callout_info: The data to pass to the instantiation upcall (or NULL).