Function report |
Source Code:security\apparmor\label.c |
Create Date:2022-07-28 19:54:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_alloc_proxy
Proto:struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp)
Type:struct aa_proxy
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_label * | label | |
| gfp_t | gfp |
| 64 | new = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 65 | If new Then |
| 69 | Return new |
| Name | Describe |
|---|---|
| aa_label_alloc | aa_label_alloc - allocate a label with a profile vector of @size length*@size: size of profile vector in the label*@proxy: proxy to use OR null if to allocate a new one*@gfp: memory allocation type* Returns: new label* else NULL if failed |
| aa_alloc_profile | aa_alloc_profile - allocate, initialize and return a new profile*@hname: name of the profile (NOT NULL)*@gfp: allocation type* Returns: refcount profile or NULL on failure |
| 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 |