Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_buffer_alloc
Proto:static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, gfp_t gfp_mask, int type)
Type:struct audit_buffer
Parameter:
Type | Parameter | Name |
---|---|---|
struct audit_context * | ctx | |
gfp_t | gfp_mask | |
int | type |
1678 | ab = kmem_cache_alloc(audit_buffer_cache, gfp_mask) |
1679 | If Not ab Then Return NULL |
1683 | If Not rmatted skb ready to send Then Go to err |
1688 | NULL or associated context = ctx |
1691 | Return ab |
1693 | err : |
1694 | audit_buffer_free(ab) |
1695 | Return NULL |
Name | Describe |
---|---|
audit_log_start | 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 |
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 |