函数逻辑报告 |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-27 21:40:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:apparmor_init
函数原型:static int __init apparmor_init(void)
返回类型:int
参数:无
| 1834 | aa_secids_init() |
| 1836 | error等于aa_setup_dfa_engine() |
| 1837 | 如果error则 |
| 1842 | error等于aa_alloc_root_ns() |
| 1843 | 如果error则 |
| 1848 | error等于apparmor_init_sysctl() |
| 1849 | 如果error则 |
| 1855 | error等于alloc_buffers() |
| 1856 | 如果error则 |
| 1861 | error等于set_init_ctx - set a task context and profile on the first task.* TODO: allow setting an alternate profile than unconfined |
| 1862 | 如果error则 |
| 1863 | AA_ERROR("Failed to set context on init task\n") |
| 1865 | 转到:buffers_out |
| 1872 | 如果AppArmor global enforcement switch - complain, enforce, kill 恒等于allow and log access violations 则aa_info_message - log a none profile related status message*@str: message to log |
| 1874 | 否则如果AppArmor global enforcement switch - complain, enforce, kill 恒等于kill task on access violation 则aa_info_message - log a none profile related status message*@str: message to log |
| 1879 | 返回:error |
| 1881 | buffers_out : |
| 1882 | destroy_buffers() |
| 1883 | alloc_out : |
| 1885 | aa_teardown_dfa_engine() |
| 1887 | Boot time disable flag = false |
| 1888 | 返回:error |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |