Function report |
Source Code:security\integrity\ima\ima_template_lib.c |
Create Date:2022-07-28 19:59:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ma_parse_buf() - Parses lengths and data from an input buffer*@bufstartp: Buffer start address.*@bufendp: Buffer end address.*@bufcurp: Pointer to remaining (non-parsed) data.*@maxfields: Length of fields array.
Proto:int ima_parse_buf(void *bufstartp, void *bufendp, void **bufcurp, int maxfields, struct ima_field_data *fields, int *curfields, unsigned long *len_mask, int enforce_mask, char *bufname)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | bufstartp | |
void * | bufendp | |
void ** | bufcurp | |
int | maxfields | |
struct ima_field_data * | fields | |
int * | curfields | |
unsigned long * | len_mask | |
int | enforce_mask | |
char * | bufname |
194 | If ima_canonical_fmt Then len = le32_to_cpu(len) |
207 | If enforce_mask & ENFORCE_FIELDS && i != maxfields Then |
210 | Return -EINVAL |
213 | If enforce_mask & ENFORCE_BUFEND && bufp != bufendp Then |
216 | Return -EINVAL |
225 | Return 0 |
Name | Describe |
---|---|
ima_restore_measurement_list | Restore the serialized binary measurement list without extending PCRs. |
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 |