函数逻辑报告 |
Source Code:security\apparmor\include\cred.h |
Create Date:2022-07-27 21:20:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:cred_label
函数原型:static inline struct aa_label *cred_label(const struct cred *cred)
返回类型:struct aa_label
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct cred * | cred |
| 27 | 返回:blob |
| 名称 | 描述 |
|---|---|
| aa_replace_current_label | aa_replace_current_label - replace the current tasks label*@label: new label (NOT NULL)* Returns: 0 or error on failure |
| aa_set_current_hat | 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 |
| aa_restore_previous_label | 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 |
| 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 |
| apparmor_cred_free | put the associated labels |
| apparmor_cred_prepare | prepare new cred label for modification by prepare_cred block |
| apparmor_cred_transfer | ransfer the apparmor data to a blank set of creds |
| apparmor_getprocattr | |
| apparmor_bprm_committing_creds | apparmor_bprm_committing_creds - do task cleanup on committing new creds*@bprm: binprm for the exec (NOT NULL) |
| aa_cred_raw_label | aa_cred_raw_label - obtain cred's label*@cred: cred to obtain label from (NOT NULL)* Returns: confining label* does NOT increment reference count |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |