Function report | 
Source Code:kernel\audit.c | 
Create Date:2022-07-28 11:23:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:static inline int audit_expand(struct audit_buffer *ab, int extra)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct audit_buffer * | ab | |
| int | extra | 
| 1818 | skb = rmatted skb ready to send | 
| 1819 | oldtail = 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 | 
| 1820 | ret = reallocate header of sk_buff | 
| 1821 | newtail = 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 | 
| 1823 | If ret < 0 Then | 
| 1829 | Return newtail | 
| Name | Describe | 
|---|---|
| audit_log_vformat | 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 | 
| audit_log_n_hex | audit_log_n_hex - convert a buffer to hex and append it to the audit skb*@ab: the audit_buffer*@buf: buffer to convert to hex*@len: length of @buf to be converted* No return value; failure to expand is silently ignored | 
| audit_log_n_string | Format a string of no more than slen characters into the audit buffer,* enclosed in quote marks. | 
| 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  |