Function report |
Source Code:security\integrity\ima\ima_api.c |
Create Date:2022-07-28 19:58:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ima_audit_measurement
Proto:void ima_audit_measurement(struct integrity_iint_cache *iint, const unsigned char *filename)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct integrity_iint_cache * | iint | |
const unsigned char * | filename |
342 | algo_name = hash_algo_name[algo] |
345 | If flags & IMA_AUDITED Then Return |
348 | hash = 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). |
349 | If Not hash Then Return |
356 | ab = audit_log_start - obtain an audit buffer*@ctx: audit_context (may be NULL)*@gfp_mask: type of allocation*@type: audit message type* Returns audit_buffer pointer on success or NULL on error |
365 | audit_log_task_info(ab) |
368 | flags |= IMA_AUDITED |
369 | out : |
371 | Return |
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 |