函数逻辑报告 | 
Source Code:security\tomoyo\common.c | 
Create Date:2022-07-27 21:05:59 | 
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:moyo_read_query - Read access requests which violated policy in enforcing mode.*@head: Pointer to "struct tomoyo_io_buffer".
函数原型:static void tomoyo_read_query(struct tomoyo_io_buffer *head)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct tomoyo_io_buffer * | head | 
| 2205 | pos等于0 | 
| 2206 | len等于0 | 
| 2209 | 如果w_pos则返回 | 
| 2211 | 释放内存 | 
| 2212 | Buffer for reading. = NULL | 
| 2213 | 加自旋锁 | 
| 2217 | 如果pos自加不等于query_index则继续下一循环 | 
| 2220 | 退出 | 
| 2222 | 自旋锁解锁 | 
| 2223 | 如果非len则 | 
| 2224 | query_index等于0 | 
| 2225 | 返回 | 
| 2228 | 如果非buf则返回 | 
| 2230 | pos等于0 | 
| 2231 | 加自旋锁 | 
| 2235 | 如果pos自加不等于query_index则继续下一循环 | 
| 2244 | 退出 | 
| 2246 | 自旋锁解锁 | 
| 2247 | 如果buf[0]则 | 
| 2251 | 否则 | 
| 2252 | 释放内存 | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |