函数逻辑报告 |
Source Code:security\keys\proc.c |
Create Date:2022-07-27 20:00:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:find_ge_key
函数原型:static struct key *find_ge_key(struct seq_file *p, key_serial_t id)
返回类型:struct key
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct seq_file * | p | |
| key_serial_t | id |
| 80 | user_ns等于seq_user_ns(p) |
| 85 | key等于rb_entry(n, structkey, serial_node) |
| 86 | 如果id小于 key serial number 则 |
| 87 | 如果非minkey或 key serial number 大于 key serial number 则minkey等于key |
| 90 | 否则如果id大于 key serial number 则 |
| 92 | 否则 |
| 96 | key = NULL |
| 99 | 如果非minkey则返回:NULL |
| 102 | 循环 |
| 103 | 如果kuid_has_mapping(user_ns, uid)则返回:minkey |
| 105 | n等于rb_next( & serial_node) |
| 106 | 如果非n则返回:NULL |
| 108 | minkey等于rb_entry(n, structkey, serial_node) |
| 名称 | 描述 |
|---|---|
| proc_keys_start |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |