Function report | 
Source Code:security\apparmor\policy_unpack.c | 
Create Date:2022-07-28 19:52:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:unpack_strdup
Proto:static int unpack_strdup(struct aa_ext *e, char **string, const char *name)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_ext * | e | |
| char ** | string | |
| const char * | name | 
| 420 | res = unpack_str(e, & tmp, name) | 
| 421 | * string = NULL | 
| 423 | If Not res Then Return 0 | 
| 426 | string = 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 | 
| 427 | If Not string Then | 
| 429 | Return 0 | 
| 432 | Return res | 
| Name | Describe | 
|---|---|
| unpack_trans_table | pack_trans_table - unpack a profile transition table*@e: serialized data extent information (NOT NULL)*@profile: profile to add the accept table to (NOT NULL)* Returns: 1 if table successfully unpacked | 
| unpack_xattrs | |
| unpack_secmark | |
| unpack_profile | pack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a 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  |