函数逻辑报告 |
Source Code:kernel\auditsc.c |
Create Date:2022-07-27 12:30:50 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static void audit_log_name(struct audit_context *context, struct audit_names *n, const struct path *path, int record_num, int *call_panic)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct audit_context * | context | |
| struct audit_names * | n | |
| const struct path * | path | |
| int | record_num | |
| int * | call_panic |
| 1323 | 如果非ab则返回 |
| 1326 | 写入审计信息 |
| 1330 | 否则如果name则 |
| 1349 | 否则写入审计信息 |
| 1352 | 如果ino不等于AUDIT_INO_UNSET则写入审计信息 |
| 1362 | 如果osid不等于0则 |
| 1363 | char * ctx = NULL |
| 1366 | 如果security_secid_to_secctx(osid, & ctx, & len)则 |
| 1368 | 写入审计信息 |
| 1369 | 如果call_panic则call_panic等于2 |
| 1371 | 否则 |
| 1372 | 写入审计信息 |
| 1373 | security_release_secctx(ctx, len) |
| 1379 | 当:cord type 恒等于a "normal" audit record |
| 1382 | 当:cord type 恒等于a parent audit record |
| 1385 | 当:cord type 恒等于a child being deleted |
| 1388 | 当:cord type 恒等于a child being created |
| 1391 | 默认 |
| 1396 | audit_log_fcaps(ab, n) |
| 1397 | 发送审计信息,并释放缓冲区 |
| 名称 | 描述 |
|---|---|
| audit_log_exit |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |