Function report |
Source Code:kernel\auditfilter.c |
Create Date:2022-07-28 11:25:21 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Log rule additions and removals
Proto:static void audit_log_rule_change(char *action, struct audit_krule *rule, int res)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
char * | action | |
struct audit_krule * | rule | |
int | res |
1102 | If Not audit_enabled Then Return |
1105 | 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 |
1106 | If Not ab Then Return |
1108 | audit_log_session_info(ab) |
1109 | audit_log_task_context(ab) |
1111 | audit_log_key(ab, ties events to rules ) |
Name | Describe |
---|---|
audit_rule_change | audit_rule_change - apply all rules to the specified message type*@type: audit message type*@seq: netlink audit message sequence (serial) number*@data: payload data*@datasz: size of payload data |
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 |