函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:05:00 |
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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.
函数原型:static bool tomoyo_print_entry(struct tomoyo_io_buffer *head, struct tomoyo_acl_info *acl)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct tomoyo_io_buffer * | head | |
| struct tomoyo_acl_info * | acl |
| 1396 | bool first = true |
| 1399 | 如果print_cond_part则转到:print_cond_part |
| 1401 | 如果 true or false or TOMOYO_GC_IN_PROGRESS 则返回:true |
| 1405 | 否则如果acl_type恒等于TOMOYO_TYPE_PATH_ACL则 |
| 1410 | 以bit小于TOMOYO_MAX_PATH_OPERATION循环 |
| 1413 | 如果print_transition_related_only且bit不等于TOMOYO_TYPE_EXECUTE则继续下一循环 |
| 1416 | 如果first则 |
| 1418 | first = false |
| 1419 | 否则 |
| 1424 | 如果first则返回:true |
| 1427 | 否则如果acl_type恒等于TOMOYO_TYPE_MANUAL_TASK_ACL则 |
| 1434 | 否则如果print_transition_related_only则 |
| 1435 | 返回:true |
| 1436 | 否则如果acl_type恒等于TOMOYO_TYPE_PATH2_ACL则 |
| 1441 | 以bit小于TOMOYO_MAX_PATH2_OPERATION循环 |
| 1453 | 如果first则返回:true |
| 1457 | 否则如果acl_type恒等于TOMOYO_TYPE_PATH_NUMBER_ACL则 |
| 1474 | 如果first则返回:true |
| 1478 | 否则如果acl_type恒等于TOMOYO_TYPE_MKDEV_ACL则 |
| 1483 | 以bit小于TOMOYO_MAX_MKDEV_OPERATION循环 |
| 1495 | 如果first则返回:true |
| 1501 | 否则如果acl_type恒等于TOMOYO_TYPE_INET_ACL则 |
| 1520 | 如果first则返回:true |
| 1523 | 如果Pointer to address group. 则 |
| 1527 | 否则 |
| 1530 | tomoyo_print_ip(buf, buf的长度, & address) |
| 1534 | 否则如果acl_type恒等于TOMOYO_TYPE_UNIX_ACL则 |
| 1553 | 如果first则返回:true |
| 1556 | 否则如果acl_type恒等于TOMOYO_TYPE_MOUNT_ACL则 |
| 1565 | 否则如果acl_type恒等于TOMOYO_TYPE_ENV_ACL则 |
| 1572 | 如果 Maybe NULL. 则 |
| 1581 | 否则 |
| 1584 | 返回:true |
| 名称 | 描述 |
|---|---|
| tomoyo_read_domain2 | moyo_read_domain2 - Read domain policy.*@head: Pointer to "struct tomoyo_io_buffer".*@list: Pointer to "struct list_head".* Caller holds tomoyo_read_lock().* Returns true on success, false otherwise. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |