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_u32
Proto:static bool unpack_u32(struct aa_ext *e, unsigned int *data, const char *name)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_ext * | e | |
| unsigned int * | data | |
| const char * | name |
| 322 | If Not st if read will be in packed data bounds Then Go to fail |
| 324 | If data Then data = le32_to_cpu(get value from possibly mis-aligned location((__le32 * )pointer to current position in the buffer )) |
| 327 | Return 1 |
| 330 | fail : |
| 332 | Return 0 |
| Name | Describe |
|---|---|
| unpack_rlimits | |
| 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 |
| verify_header | verify_head - unpack serialized stream header*@e: serialized data read head (NOT NULL)*@required: whether the header is required or optional*@ns: Returns - namespace if one is specified else NULL (NOT NULL)* Returns: error or 0 if header is good |
| 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 |