函数逻辑报告 |
Source Code:security\apparmor\task.c |
Create Date:2022-07-27 21:26:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_set_current_hat - set the current tasks hat*@label: label to set as the current hat (NOT NULL)*@token: token value that must be specified to change from the hat* Do switch of tasks hat
函数原型:int aa_set_current_hat(struct aa_label *label, u64 token)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_label * | label | |
u64 | token |
120 | new等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
125 | 如果非previous则 |
127 | previous等于cred_label(new) |
130 | aa_put_label(cred_label(new)) |
131 | 否则 |
134 | 返回:负EACCES |
139 | aa_put_label(onexec) |
140 | onexec = NULL |
143 | 返回:0 |
名称 | 描述 |
---|---|
aa_change_hat | aa_change_hat - change hat to/from subprofile*@hats: vector of hat names to try changing into (MAYBE NULL if @count == 0)*@count: number of hat names in @hats*@token: magic value to validate the hat change*@flags: flags affecting behavior of the change |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |