Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void audit_log_vformat(struct audit_buffer *ab, const char *fmt, va_list args)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct audit_buffer * | ab | |
const char * | fmt | |
va_list | args |
1845 | If Not ab Then Return |
1848 | BUG_ON(!rmatted skb ready to send ) |
1849 | skb = rmatted skb ready to send |
1850 | avail = skb_tailroom - bytes at buffer end*@skb: buffer to check* Return the number of bytes of free space at the tail of an sk_buff |
1851 | If avail == 0 Then |
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 | If Not avail Then Go to out_va_end |
1868 | If len > 0 Then add data to a buffer |
1870 | out_va_end : |
1872 | out : |
1873 | Return |
Name | Describe |
---|---|
audit_log_format | audit_log_format - format a message into the audit buffer.*@ab: audit_buffer*@fmt: format string*@...: optional parameters matching @fmt string* All the work is done in audit_log_vformat. |
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, |
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 |