函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:04:39 |
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_print_condition - Print condition part.*@head: Pointer to "struct tomoyo_io_buffer".*@cond: Pointer to "struct tomoyo_condition".* Returns true on success, false otherwise.
函数原型:static bool tomoyo_print_condition(struct tomoyo_io_buffer *head, const struct tomoyo_condition *cond)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct tomoyo_io_buffer * | head | |
| const struct tomoyo_condition * | cond |
| 1260 | 以skip小于cond_index循环 |
| 1261 | left等于Left hand operand. A "struct tomoyo_argv" for TOMOYO_ARGV_ENTRY, a* "struct tomoyo_envp" for TOMOYO_ENVP_ENTRY is attached to the tail* of the array of this struct. |
| 1262 | right等于Right hand operand. A "struct tomoyo_number_union" for* TOMOYO_NUMBER_UNION, a "struct tomoyo_name_union" for* TOMOYO_NAME_UNION is attached to the tail of the array of this* struct. |
| 1264 | condp自加 |
| 1266 | 当:left恒等于TOMOYO_ARGV_ENTRY |
| 1267 | argv自加 |
| 1268 | 继续下一循环 |
| 1269 | 当:left恒等于TOMOYO_ENVP_ENTRY |
| 1270 | envp自加 |
| 1271 | 继续下一循环 |
| 1272 | 当:left恒等于TOMOYO_NUMBER_UNION |
| 1285 | 当cond_index小于condc循环 |
| 1287 | left等于Left hand operand. A "struct tomoyo_argv" for TOMOYO_ARGV_ENTRY, a* "struct tomoyo_envp" for TOMOYO_ENVP_ENTRY is attached to the tail* of the array of this struct. |
| 1288 | right等于Right hand operand. A "struct tomoyo_number_union" for* TOMOYO_NUMBER_UNION, a "struct tomoyo_name_union" for* TOMOYO_NAME_UNION is attached to the tail of the array of this* struct. |
| 1292 | condp自加 |
| 1293 | cond_index自加 |
| 1296 | 当:left恒等于TOMOYO_ARGV_ENTRY |
| 1303 | argv自加 |
| 1304 | 继续下一循环 |
| 1305 | 当:left恒等于TOMOYO_ENVP_ENTRY |
| 1321 | 当:left恒等于TOMOYO_NUMBER_UNION |
| 1324 | 退出 |
| 1325 | 默认 |
| 1332 | 当:right恒等于TOMOYO_NAME_UNION |
| 1335 | 退出 |
| 1336 | 当:right恒等于TOMOYO_NUMBER_UNION |
| 1339 | 退出 |
| 1340 | 默认 |
| 1347 | cond_step自加 |
| 1350 | 如果非moyo_flush - Flush queued string to userspace's buffer.*@head: Pointer to "struct tomoyo_io_buffer".* Returns true if all data was flushed, false otherwise.则退出 |
| 1352 | cond_step自加 |
| 1360 | 返回:true |
| 1362 | 返回:false |
| 名称 | 描述 |
|---|---|
| tomoyo_print_entry | moyo_print_entry - Print an ACL entry.*@head: Pointer to "struct tomoyo_io_buffer".*@acl: Pointer to an ACL entry.* Returns true on success, false otherwise. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |