函数逻辑报告 |
Source Code:security\device_cgroup.c |
Create Date:2022-07-27 21:52:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:parent_allows_removal - verify if it's ok to remove an exception*@childcg: child cgroup from where the exception will be removed*@ex: exception being removed* When removing an exception in cgroups with default ALLOW policy, it must* be checked if removing
函数原型:static bool parent_allows_removal(struct dev_cgroup *childcg, struct dev_exception_item *ex)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dev_cgroup * | childcg | |
struct dev_exception_item * | ex |
471 | parent等于css_to_devcgroup(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.) |
473 | 如果非parent则返回:true |
477 | 如果behavior恒等于DEVCG_DEFAULT_DENY则返回:true |
名称 | 描述 |
---|---|
devcgroup_update_access | Modify the exception list using allow/deny rules |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |