函数逻辑报告 | 
Source Code:security\keys\process_keys.c | 
Create Date:2022-07-27 19:56:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Install the given keyring as the session keyring of the current task,* replacing the existing one if any. If the given keyring is NULL, then* install a new anonymous session keyring.* Return: 0 on success; -errno on failure.
函数原型:static int install_session_keyring(struct key *keyring)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct key * | keyring | 
| 361 | new等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification | 
| 366 | 如果ret小于0则 | 
| 368 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| 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 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |