函数逻辑报告 |
Source Code:security\tomoyo\load_policy.c |
Create Date:2022-07-27 21:12:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void tomoyo_load_policy(const char *filename)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | filename |
93 | 如果非Path to the trigger. (default = CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER)则Path to the trigger. (default = CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER)等于CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER |
95 | 如果字符串比较则返回 |
99 | done = true |
100 | 打印信息("Calling %s to load policy. Please wait.\n", Path to the policy loader. (default = CONFIG_SECURITY_TOMOYO_POLICY_LOADER)) |
102 | argv[1] = NULL |
103 | envp[0]等于"HOME=/" |
104 | envp[1]等于"PATH=/sbin:/bin:/usr/sbin:/usr/bin" |
105 | envp[2] = NULL |
名称 | 描述 |
---|---|
tomoyo_bprm_set_creds | moyo_bprm_set_creds - Target for security_bprm_set_creds().*@bprm: Pointer to "struct linux_binprm".* Returns 0. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |