Function report |
Source Code:security\apparmor\include\file.h |
Create Date:2022-07-28 19:48:54 |
| 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_file_ctx - allocate file_ctx*@label: initial label of task creating the file*@gfp: gfp flags for allocation* Returns: file_ctx or NULL on failure
Proto:static inline struct aa_file_ctx *aa_alloc_file_ctx(struct aa_label *label, gfp_t gfp)
Type:struct aa_file_ctx
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_label * | label | |
| gfp_t | gfp |
| 59 | ctx = 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). |
| 60 | If ctx Then |
| 64 | Return ctx |
| 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 |