函数逻辑报告 |
Source Code:security\apparmor\domain.c |
Create Date:2022-07-27 21:30:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:may_change_ptraced_domain - check if can change profile on ptraced task*@to_label: profile to change to (NOT NULL)*@info: message if there is an error* Check if current is ptraced and if so if the tracing task is allowed* to trace the new domain* Returns:
函数原型:static int may_change_ptraced_domain(struct aa_label *to_label, const char **info)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct aa_label * | to_label | |
const char ** | info |
64 | error等于0 |
68 | 如果tracer则tracerl等于aa_get_task_label - Get another task's label*@task: task to query (NOT NULL)* Returns: counted reference to @task's label |
73 | 如果非tracer或unconfined(tracerl)则转到:out |
78 | out : |
80 | aa_put_label(tracerl) |
84 | 返回:error |
名称 | 描述 |
---|---|
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 |
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 |
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 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |