函数逻辑报告 | 
Source Code:security\keys\keyring.c | 
Create Date:2022-07-27 19:52:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称: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
函数原型:key_ref_t find_key_to_update(key_ref_t keyring_ref, const struct keyring_index_key *index_key)
返回类型:key_ref_t
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| key_ref_t | keyring_ref | |
| const struct keyring_index_key * | index_key | 
| 1106 | keyring等于key_ref_to_ptr(keyring_ref) | 
| 1108 | kenter("{%d},{%s,%s}", key serial number , name, description) | 
| 1117 | kleave(" = NULL") | 
| 1118 | 返回:NULL | 
| 1120 | found : | 
| 1121 | key等于keyring_ptr_to_key(object) | 
| 1122 | 如果 status flags (change with bitops) 按位与1左移set if key has been invalidated 位按位或1左移set if key had been revoked 位的值则 | 
| 1124 | kleave(" = NULL [x]") | 
| 1125 | 返回:NULL | 
| 1128 | kleave(" = {%d}", key serial number ) | 
| 1129 | 返回:make_key_ref(key, is_key_possessed(keyring_ref)) | 
| 名称 | 描述 | 
|---|---|
| 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. | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |