Function report | 
Source Code:security\tomoyo\common.c | 
Create Date:2022-07-28 19:37:30 | 
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:moyo_check_profile - Check all profiles currently assigned to domains are defined.
Proto:void tomoyo_check_profile(void)
Type:void
Parameter:Nothing
| 2776 | idx = moyo_read_lock - Take lock for protecting policy.* Returns index number for tomoyo_read_unlock(). | 
| 2778 | External variable definitions. ********* = true | 
| 2779 | pr_info("TOMOYO: 2.6.0\n") | 
| 2782 | profile = Profile number to use. | 
| 2785 | If Profile version. Currently only 20150505 is defined. == 20110903 Then | 
| 2786 | pr_info_once("Converting profile version from %u to %u.\n", 20110903, 20150505) | 
| 2788 | Profile version. Currently only 20150505 is defined. = 20150505 | 
| 2790 | If Profile version. Currently only 20150505 is defined. != 20150505 Then pr_err("Profile version %u is not supported.\n", Profile version. Currently only 20150505 is defined. ) | 
| 2793 | Else if Not Profile table. Memory is allocated as needed. [profile] Then pr_err("Profile %u (used by '%s') is not defined.\n", profile, name) | 
| 2796 | Else Continue | 
| 2798 | pr_err("Userland tools for TOMOYO 2.6 must be installed and policy must be initialized.\n") | 
| 2799 | pr_err("Please see https://tomoyo.osdn.jp/2.6/ for more information.\n") | 
| 2803 | pr_info("Mandatory Access Control activated.\n") | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |