函数逻辑报告 |
Source Code:include\linux\key.h |
Create Date:2022-07-27 06:42:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:make_key_ref
函数原型:static inline key_ref_t make_key_ref(const struct key *key, bool possession)
返回类型:key_ref_t
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct key * | key | |
bool | possession |
135 | 返回:key按位或possession |
名称 | 描述 |
---|---|
digsig_verify | digsig_verify() - digital signature verification with public key*@keyring: keyring to search key in*@sig: digital signature*@siglen: length of the signature*@data: data*@datalen: length of the data* Returns 0 on success, -EINVAL otherwise |
key_create_or_update | key_create_or_update - Update or create and instantiate a key.*@keyring_ref: A pointer to the destination keyring with possession flag.*@type: The type of key.*@description: The searchable description for the key. |
keyring_search_iterator | Iteration function to consider each key found. |
search_nested_keyrings | Search a tree of keyrings that point to other keyrings up to the maximum* depth. |
find_key_to_update | Search the given keyring for a key that might be updated.* The caller must guarantee that the keyring is a keyring and that the* permission is granted to modify the keyring as no check is made here. The |
find_keyring_by_name | Find a keyring with the specified name |
look_up_user_keyrings | Look up the user and user session keyrings for the current process's UID,* creating them if they don't exist. |
get_user_session_keyring_rcu | Get the user session keyring if it exists, but don't create it if it* doesn't. |
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) |
lookup_user_key | Look up a key ID given us by userspace with a given permissions mask to get* the key it refers to.* Flags can be passed to request that special keyrings be created if referred* to directly, to permit partially constructed keys to be found and to skip |
construct_get_dest_keyring | Get the appropriate destination keyring for the request.* The keyring selected is returned with an extra reference upon it which the* caller must release. |
proc_keys_show | |
key_create_persistent | Create the persistent keyring for the specified user.* Called with the namespace's sem locked for writing. |
key_get_persistent | Get the persistent keyring for a specific UID and link it to the nominated* keyring. |
integrity_add_key | |
request_asymmetric_key | Request an asymmetric key. |
search_fscrypt_keyring | Search ->s_master_keys or ->mk_users |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |