Function report |
Source Code:security\lsm_audit.c |
Create Date:2022-07-28 19:31:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mmon_lsm_audit - generic LSM auditing function*@a: auxiliary audit data*@pre_audit: lsm-specific pre-audit callback*@post_audit: lsm-specific post-audit callback* setup the audit buffer for common security information* uses callback to print LSM specific
Proto:void common_lsm_audit(struct common_audit_data *a, void (*pre_audit)(struct audit_buffer *, void *), void (*post_audit)(struct audit_buffer *, void *))
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct common_audit_data * | a | |
| void (* | pre_audit | |
| void (* | post_audit |
| 446 | If (a == NULL) Then Return |
| 449 | 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 |
| 452 | If (ab == NULL) Then Return |
| 460 | If post_audit Then post_audit(ab, a) |
| Name | Describe |
|---|---|
| smack_log | smack_log - Audit the granting or denial of permissions |
| aa_audit_msg | aa_audit_msg - Log a message to the audit subsystem*@sa: audit event structure (NOT NULL)*@cb: optional callback fn for type specific fields (MAYBE NULL) |
| 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 |