Function report |
Source Code:security\tomoyo\load_policy.c |
Create Date:2022-07-28 19:43:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_policy_loader_exists - Check whether /sbin/tomoyo-init exists.* Returns true if /sbin/tomoyo-init exists, false otherwise.
Proto:static bool tomoyo_policy_loader_exists(void)
Type:bool
Parameter:Nothing
| 44 | pr_info("Not activating Mandatory Access Control as %s does not exist.\n", Path to the policy loader. (default = CONFIG_SECURITY_TOMOYO_POLICY_LOADER)) |
| 46 | Return false |
| 49 | Return true |
| 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 |