Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Format a string of no more than slen characters into the audit buffer,* enclosed in quote marks.
Proto:void audit_log_n_string(struct audit_buffer *ab, const char *string, size_t slen)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct audit_buffer * | ab | |
const char * | string | |
size_t | slen |
1946 | If Not ab Then Return |
1949 | BUG_ON(!rmatted skb ready to send ) |
1950 | skb = rmatted skb ready to send |
1951 | 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 |
1954 | 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. |
1955 | If Not avail Then Return |
1958 | ptr = skb_tail_pointer(skb) |
1959 | ptr++ = '"' |
1960 | No 3D Now!(ptr, string, slen) |
1962 | ptr++ = '"' |
1963 | ptr = 0 |
1964 | add data to a buffer |
Name | Describe |
---|---|
audit_log_n_untrustedstring | audit_log_n_untrustedstring - log a string that may contain random characters*@ab: audit_buffer*@len: length of string (not including trailing null)*@string: string to be logged* This code will escape a string that is passed to it if the string* contains |
audit_log_execve_info | |
audit_log_string |
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 |