函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:06:39 |
Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_check_profile - Check all profiles currently assigned to domains are defined.
函数原型:void tomoyo_check_profile(void)
返回类型:void
参数:无
2776 | idx等于moyo_read_lock - Take lock for protecting policy.* Returns index number for tomoyo_read_unlock(). |
2778 | External variable definitions. ********* = true |
2779 | 打印信息("TOMOYO: 2.6.0\n") |
2782 | profile等于 Profile number to use. |
2785 | 如果 Profile version. Currently only 20150505 is defined. 恒等于20110903则 |
2786 | pr_info_once("Converting profile version from %u to %u.\n", 20110903, 20150505) |
2788 | Profile version. Currently only 20150505 is defined. 等于20150505 |
2790 | 如果 Profile version. Currently only 20150505 is defined. 不等于20150505则打印错误信息("Profile version %u is not supported.\n", Profile version. Currently only 20150505 is defined. ) |
2793 | 否则如果非 Profile table. Memory is allocated as needed. [profile]则打印错误信息("Profile %u (used by '%s') is not defined.\n", profile, name) |
2796 | 否则继续下一循环 |
2798 | 打印错误信息("Userland tools for TOMOYO 2.6 must be installed and policy must be initialized.\n") |
2799 | 打印错误信息("Please see https://tomoyo.osdn.jp/2.6/ for more information.\n") |
2803 | 打印信息("Mandatory Access Control activated.\n") |
名称 | 描述 |
---|---|
tomoyo_load_policy | moyo_load_policy - Run external policy loader to load policy.*@filename: The program about to start.* This function checks whether @filename is /sbin/init , and if so* invoke /sbin/tomoyo-init and wait for the termination of /sbin/tomoyo-init |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |