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: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
Proto:static bool unpack_trans_table(struct aa_ext *e, struct aa_profile *profile)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_ext * | e | |
struct aa_profile * | profile |
485 | size = unpack_array(e, NULL) |
489 | table = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
497 | size2 = unpack_strdup(e, & str, NULL) |
505 | If Note: isspace() must return false for %NUL-terminator ( * str) Then Go to fail |
515 | If str == ':' Then |
538 | Return 1 |
540 | fail : |
543 | Return 0 |
Name | Describe |
---|---|
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 |