Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is a helper-function to print the escaped d_path
Proto:void audit_log_d_path(struct audit_buffer *ab, const char *prefix, const struct path *path)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct audit_buffer * | ab | |
| const char * | prefix | |
| const struct path * | path |
| 2028 | pathname = Allocation memory |
| 2029 | If Not pathname Then |
| 2030 | audit_log_string(ab, "<no_memory>") |
| 2031 | Return |
| 2033 | p = d_path(path, pathname, # chars in a path name including nul + 11) |
| 2036 | audit_log_string(ab, "<too_long>") |
| Name | Describe |
|---|---|
| audit_log_d_path_exe | |
| audit_log_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 |
| audit_log_exit | |
| dump_common_audit_data | dump_common_audit_data - helper to dump common audit data*@a : common audit 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 |