函数逻辑报告 | 
Source Code:kernel\audit.c | 
Create Date:2022-07-27 12:26:35 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Format an audit message into the audit buffer. If there isn't enough* room in the audit buffer, more room will be allocated and vsnprint* will be called a second time. Currently, we assume that a printk
函数原型:static void audit_log_vformat(struct audit_buffer *ab, const char *fmt, va_list args)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct audit_buffer * | ab | |
| const char * | fmt | |
| va_list | args | 
| 1845 | 如果非ab则返回 | 
| 1848 | BUG_ON(!rmatted skb ready to send ) | 
| 1849 | skb等于rmatted skb ready to send | 
| 1851 | 如果avail恒等于0则 | 
| 1862 | avail等于audit_expand - expand skb in the audit buffer*@ab: audit_buffer*@extra: space to add at tail of the skb* Returns 0 (no space) on failed expansion, or available space if* successful. | 
| 1864 | 如果非avail则转到:out_va_end | 
| 1870 | out_va_end : | 
| 1872 | out : | 
| 1873 | 返回 | 
| 名称 | 描述 | 
|---|---|
| audit_log_format | 写入审计信息 | 
| audit_log | audit_log - Log an audit record*@ctx: audit context*@gfp_mask: type of allocation*@type: audit message type*@fmt: format string to use*@...: variable parameters matching the format string* This is a convenience function that calls audit_log_start, | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |