函数逻辑报告 |
Source Code:security\keys\proc.c |
Create Date:2022-07-27 20:00:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:proc_keys_show
函数原型:static int proc_keys_show(struct seq_file *m, void *v)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct seq_file * | m | |
| void * | v |
| 154 | key等于rb_entry(_p, structkey, serial_node) |
| 173 | key_ref等于make_key_ref(key, 0) |
| 180 | skey_ref等于Search the process keyrings attached to the supplied cred for the first* matching key under RCU conditions (the caller must be holding the RCU read* lock) |
| 182 | 如果非是错误则 |
| 183 | key_ref_put(skey_ref) |
| 184 | key_ref等于make_key_ref(key, 1) |
| 190 | 如果rc小于0则返回:0 |
| 199 | 如果expiry恒等于0则 |
| 203 | 否则 |
| 214 | 否则输出格式化串 |
| 218 | state等于key_read_state(key) |
| 247 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |