Function report |
Source Code:kernel\auditsc.c |
Create Date:2022-07-28 11:27:33 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_log_name - produce AUDIT_PATH record from struct audit_names*@context: audit_context for the task*@n: audit_names structure with reportable details*@path: optional path to report instead of audit_names->name*@record_num: record number to report when
Proto:static void audit_log_name(struct audit_context *context, struct audit_names *n, const struct path *path, int record_num, int *call_panic)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct audit_context * | context | |
| struct audit_names * | n | |
| const struct path * | path | |
| int | record_num | |
| int * | call_panic |
| 1322 | 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 |
| 1323 | If Not ab Then Return |
| 1330 | Else if name Then |
| 1362 | If osid != 0 Then |
| 1363 | char * ctx = NULL |
| 1366 | If security_secid_to_secctx(osid, & ctx, & len) Then |
| 1369 | If call_panic Then call_panic = 2 |
| 1371 | Else |
| 1373 | security_release_secctx(ctx, len) |
| 1379 | Case cord type == a "normal" audit record |
| 1382 | Case cord type == a parent audit record |
| 1385 | Case cord type == a child being deleted |
| 1388 | Case cord type == a child being created |
| 1391 | Default |
| 1396 | audit_log_fcaps(ab, n) |
| Name | Describe |
|---|---|
| audit_log_exit |
| 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 |