函数逻辑报告 |
Source Code:security\apparmor\task.c |
Create Date:2022-07-27 21:26:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_replace_current_label - replace the current tasks label*@label: new label (NOT NULL)* Returns: 0 or error on failure
函数原型:int aa_replace_current_label(struct aa_label *label)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_label * | label |
55 | new等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
59 | 如果nnp且label_is_stale(nnp)则 |
63 | aa_put_label(tmp) |
65 | 如果unconfined(label)或labels_ns(old)不等于labels_ns(label)则aa_clear_task_ctx_trans - clear transition tracking info from the ctx*@ctx: task context to clear (NOT NULL) |
78 | aa_get_label(label) |
79 | aa_put_label(cred_label(new)) |
80 | set_cred_label(new, label) |
83 | 返回:0 |
名称 | 描述 |
---|---|
aa_change_profile | aa_change_profile - perform a one-way profile transition*@fqname: name of profile may include namespace (NOT NULL)*@onexec: whether this transition is to take place immediately or at exec*@flags: flags affecting change behavior |
aa_pivotroot | |
begin_current_label_crit_section | gin_current_label_crit_section - current's confining label and update it* Returns: up to date confining label or the ns unconfined label (NOT NULL)* Not safe to call inside locks* The returned reference must be put with end_current_label_crit_section()* |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |