| 函数逻辑报告 | 
| Source Code: security\keys\process_keys.c | Create Date:2022-07-27 19:57:20 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Join the named keyring as the session keyring if possible else attempt to* create a new one of that name and join that
函数原型:long join_session_keyring(const char *name)
返回类型:long
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| const char * | name | 
| 845 | new等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification | 
| 848 | old等于current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() | 
| 851 | 如果非name则 | 
| 856 | serial等于 key serial number | 
| 860 | 转到:okay | 
| 874 | 如果是错误则 | 
| 878 | 否则如果是错误则 | 
| 881 | 否则如果keyring恒等于 keyring inherited over fork 则 | 
| 894 | ret等于 key serial number | 
| 896 | okay : | 
| 897 | 返回:ret | 
| 899 | error3 : | 
| 901 | error2 : | 
| 903 | error : | 
| 905 | 返回: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 | 
| keyctl_join_session_keyring | Join a (named) session keyring.* Create and join an anonymous session keyring or join a named session* keyring, creating it if necessary. A named session keyring must have Search* permission for it to be joined. Session keyrings without this permit will | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |