函数逻辑报告 |
Source Code:security\keys\keyring.c |
Create Date:2022-07-27 19:52:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find a keyring with the specified name
函数原型:struct key *find_keyring_by_name(const char *name, bool uid_keyring)
返回类型:struct key
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | name | |
bool | uid_keyring |
1145 | ns等于current_user_ns() |
1151 | read_lock( & keyring_name_lock) |
1157 | 如果非kuid_has_mapping(ns, uid)则继续下一循环 |
1160 | 如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则继续下一循环 |
1163 | 如果字符串比较不等于0则继续下一循环 |
1166 | 如果uid_keyring则 |
1170 | 否则 |
1182 | 转到:out |
1186 | out : |
1187 | read_unlock( & keyring_name_lock) |
1188 | 返回:keyring |
名称 | 描述 |
---|---|
join_session_keyring | Join the named keyring as the session keyring if possible else attempt to* create a new one of that name and join that |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |