函数逻辑报告 | 
Source Code:security\keys\persistent.c | 
Create Date:2022-07-27 20:00:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Get the persistent keyring for a specific UID and link it to the nominated* keyring.
函数原型:static long key_get_persistent(struct user_namespace *ns, kuid_t uid, key_ref_t dest_ref)
返回类型:long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct user_namespace * | ns | |
| kuid_t | uid | |
| key_ref_t | dest_ref | 
| 84 | type等于key_type_keyring | 
| 85 | description等于buf | 
| 95 | 如果persistent_ref则转到:found | 
| 102 | lock for writing | 
| 103 | persistent_ref等于Create the persistent keyring for the specified user.* Called with the namespace's sem locked for writing. | 
| 108 | 返回:错误 | 
| 110 | found : | 
| 112 | 如果ret恒等于0则 | 
| 115 | 如果ret恒等于0则 | 
| 122 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| keyctl_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 插件可实现:逻辑报告 代码生成和批量转换代码  |