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:propagate_exception - propagates a new exception to the children*@devcg_root: device cgroup that added a new exception*@ex: new exception to be propagated* returns: 0 in case of success, != 0 in case of error
Proto:static int propagate_exception(struct dev_cgroup *devcg_root, struct dev_exception_item *ex)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dev_cgroup * | devcg_root | |
| struct dev_exception_item * | ex |
| 537 | rc = 0 |
| 542 | devcg = css_to_devcgroup(pos) |
| 550 | If pos == css || Not is_devcg_online(devcg) Then Continue |
| 559 | If behavior == DEVCG_DEFAULT_ALLOW && behavior == DEVCG_DEFAULT_ALLOW Then |
| 564 | Else |
| 579 | Return rc |
| 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 |