函数逻辑报告 |
Source Code:security\apparmor\task.c |
Create Date:2022-07-27 21:26:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_restore_previous_label - exit from hat context restoring previous label*@token: the token that must be matched to exit hat context* Attempt to return out of a hat to the previous label
函数原型:int aa_restore_previous_label(u64 token)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| u64 | token |
| 163 | 如果非previous则返回:0 |
| 166 | new等于prepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification |
| 170 | aa_put_label(cred_label(new)) |
| 172 | AA_BUG(!cred_label(new)) |
| 178 | 返回: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 插件可实现:逻辑报告 代码生成和批量转换代码 |