函数逻辑报告 |
Source Code:kernel\auditsc.c |
Create Date:2022-07-27 12:30:36 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:audit_log_execve_info
函数原型:static void audit_log_execve_info(struct audit_context *context, struct audit_buffer **ab)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct audit_context * | context | |
| struct audit_buffer ** | ab |
| 994 | len_abuf等于0 |
| 1013 | WARN_ON_ONCE( execve audit message should be longer than this (userspace limits),* see the note near the top of audit_log_execve_info() about this value > 7500) |
| 1014 | len_max等于 execve audit message should be longer than this (userspace limits),* see the note near the top of audit_log_execve_info() about this value |
| 1018 | 如果非buf_head则 |
| 1019 | audit_panic("out of memory for argv string") |
| 1020 | 返回 |
| 1024 | 写入审计信息 |
| 1027 | len_buf等于0 |
| 1028 | len_full等于0 |
| 1029 | require_data = true |
| 1030 | encode = false |
| 1031 | iter等于0 |
| 1032 | arg等于0 |
| 1033 | 循环 |
| 1045 | 如果require_data则 |
| 1069 | 否则 |
| 1088 | 如果len_buf大于等于0则 |
| 1103 | len_tmp等于0 |
| 1104 | 如果require_data或iter大于0或len_abuf加abuf的长度大于len_rem则 |
| 1106 | 如果iter恒等于0则 |
| 1123 | 写入审计信息 |
| 1126 | 如果encode则 |
| 1132 | 否则 |
| 1146 | 如果len_buf恒等于0且非require_data则 |
| 1157 | out : |
| 名称 | 描述 |
|---|---|
| show_special |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |