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_has_perm:* when adding a new allow rule to a device exception list, the rule* must be allowed in the parent device
Proto:static int parent_has_perm(struct dev_cgroup *childcg, struct dev_exception_item *ex)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If Not parent Then Return 1 |
| Name | Describe |
|---|---|
| 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 |
| 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 |