函数逻辑报告 |
Source Code:security\device_cgroup.c |
Create Date:2022-07-27 21:52:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:parent_has_perm:* when adding a new allow rule to a device exception list, the rule* must be allowed in the parent device
函数原型:static int parent_has_perm(struct dev_cgroup *childcg, struct dev_exception_item *ex)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct dev_cgroup * | childcg | |
struct dev_exception_item * | ex |
450 | parent等于css_to_devcgroup(PI: the parent css. Placed here for cache proximity to following* fields of the containing structure.) |
452 | 如果非parent则返回:1 |
名称 | 描述 |
---|---|
revalidate_active_exceptions | validate_active_exceptions - walks through the active exception list and* revalidates the exceptions based on parent's* behavior and exceptions |
devcgroup_update_access | Modify the exception list using allow/deny rules |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |