函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:05:28 |
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_read_policy - Read "struct tomoyo_..._entry" list.*@head: Pointer to "struct tomoyo_io_buffer".*@idx: Index number.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock().
函数原型:static bool tomoyo_read_policy(struct tomoyo_io_buffer *head, const int idx)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct tomoyo_io_buffer * | head | |
| const int | idx |
| 1860 | list等于 List of policy. [idx] |
| 1865 | 如果rue or false or TOMOYO_GC_IN_PROGRESS 则继续下一循环 |
| 1870 | 当:idx恒等于TOMOYO_ID_TRANSITION_CONTROL |
| 1885 | 退出 |
| 1886 | 当:idx恒等于TOMOYO_ID_AGGREGATOR |
| 1899 | 退出 |
| 1900 | 默认 |
| 1901 | 继续下一循环 |
| 1905 | acl = NULL |
| 1906 | 返回:true |
| 名称 | 描述 |
|---|---|
| tomoyo_read_exception | moyo_read_exception - Read exception policy.*@head: Pointer to "struct tomoyo_io_buffer".* Caller holds tomoyo_read_lock(). |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |