函数逻辑报告 | 
Source Code:security\apparmor\domain.c | 
Create Date:2022-07-27 21:31:15 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:sure none ns domain transitions are correctly applied with onexec
函数原型:static struct aa_label *handle_onexec(struct aa_label *label, struct aa_label *onexec, bool stack, const struct linux_binprm *bprm, char *buffer, struct path_cond *cond, bool *unsafe)
返回类型:struct aa_label
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct aa_label * | label | |
| struct aa_label * | onexec | |
| bool | stack | |
| const struct linux_binprm * | bprm | |
| char * | buffer | |
| struct path_cond * | cond | |
| bool * | unsafe | 
| 819 | 如果非stack则 | 
| 820 | error等于fn_for_each_in_ns(label, profile, profile_onexec(profile, onexec, stack, bprm, buffer, cond, unsafe)) | 
| 830 | 否则 | 
| 832 | error等于fn_for_each_in_ns(label, profile, profile_onexec(profile, onexec, stack, bprm, buffer, cond, unsafe)) | 
| 853 | 返回:错误号 | 
| 名称 | 描述 | 
|---|---|
| apparmor_bprm_set_creds | apparmor_bprm_set_creds - set the new creds on the bprm struct*@bprm: binprm for the exec (NOT NULL)* Returns: %0 or error on failure* TODO: once the other paths are done see if we can't refactor into a fn | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |