函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:53:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:key_link - Link a key to a keyring*@keyring: The keyring to make the link in
函数原型:int key_link(struct key *keyring, struct key *key)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct key * | keyring | |
struct key * | key |
1437 | struct assoc_array_edit * edit = NULL |
1440 | kenter("{%d,%d}", key serial number , _read - get a refcount's value*@r: the refcount* Return: the refcount's value) |
1445 | ret等于Lock keyring for link. |
1453 | kdebug("begun {%d,%d}", key serial number , _read - get a refcount's value*@r: the refcount* Return: the refcount's value) |
1460 | error_end : |
1461 | Finish linking a key into to a keyring.* Must be called with __key_link_begin() having being called. |
1462 | error : |
1463 | kleave(" = %d {%d,%d}", ret, key serial number , _read - get a refcount's value*@r: the refcount* Return: the refcount's value) |
1464 | 返回:ret |
名称 | 描述 |
---|---|
keyctl_keyring_link | Create a link from a keyring to a key if there's no matching key in the* keyring, otherwise replace the link to the matching key with a link to the* new key.* The key must grant the caller Link permission and the the keyring must grant |
keyctl_keyring_search | Search the specified keyring and any keyrings it links to for a matching* key |
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. |
call_sbin_request_key | Request userspace finish the construction of a key* - execute "/sbin/request-key |
request_key_and_link | 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. |
key_get_persistent | Get the persistent keyring for a specific UID and link it to the nominated* keyring. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |