函数逻辑报告 |
Source Code:security\apparmor\domain.c |
Create Date:2022-07-27 21:31:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:profile_onexec
函数原型:static int profile_onexec(struct aa_profile *profile, struct aa_label *onexec, bool stack, const struct linux_binprm *bprm, char *buffer, struct path_cond *cond, bool *secure_exec)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_profile * | profile | |
struct aa_label * | onexec | |
bool | stack | |
const struct linux_binprm * | bprm | |
char * | buffer | |
struct path_cond * | cond | |
bool * | secure_exec |
747 | 如果profile_unconfined(profile)则 |
754 | 返回:0 |
759 | 如果error则 |
766 | 转到:audit |
771 | 如果非allow按位与her stack or change_profile 的值则 |
782 | 如果error则 |
783 | allow与等于her stack or change_profile 的反 |
784 | 转到:audit |
789 | dbg_printk("apparmor: scrubbing environment variables for %s label=", xname) |
791 | aa_label_printk(onexec, GFP_KERNEL) |
792 | dbg_printk("\n") |
794 | * secure_exec = true |
797 | audit : |
名称 | 描述 |
---|---|
handle_onexec | sure none ns domain transitions are correctly applied with onexec |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |