Function report |
Source Code:security\device_cgroup.c |
Create Date:2022-07-28 19:55:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alled under devcgroup_mutex
Proto:static int dev_exception_add(struct dev_cgroup *dev_cgroup, struct dev_exception_item *ex)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dev_cgroup * | dev_cgroup | |
| struct dev_exception_item * | ex |
| 92 | excopy = kmemdup - duplicate region of memory*@src: memory region to duplicate*@len: memory region length*@gfp: GFP mask to use* Return: newly allocated copy of @src or %NULL in case of error |
| 106 | excopy = NULL |
| 109 | If (excopy != NULL) Then list_add_tail_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head |
| 111 | Return 0 |
| Name | Describe |
|---|---|
| propagate_exception | 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 |
| 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 |