Function report |
Source Code:security\device_cgroup.c |
Create Date:2022-07-28 19:55:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static bool parent_allows_removal(struct dev_cgroup *childcg, struct dev_exception_item *ex)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
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 | If Not parent Then Return true |
477 | If behavior == DEVCG_DEFAULT_DENY Then Return true |
Name | Describe |
---|---|
devcgroup_update_access | Modify the exception list using allow/deny rules |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |