Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-28 11:23:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void audit_log_n_untrustedstring(struct audit_buffer *ab, const char *string, size_t len)

Type:void

Parameter:

TypeParameterName
struct audit_buffer *ab
const char *string
size_tlen
1999  If audit_string_contains_control - does a string need to be logged in hex*@string: string to be checked*@len: max length of the string to check Then 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
2001  Else Format a string of no more than slen characters into the audit buffer,* enclosed in quote marks.
Caller
NameDescribe
audit_receive_msg
audit_log_untrustedstringaudit_log_untrustedstring - log a string that may contain random characters*@ab: audit_buffer*@string: string to be logged* Same as audit_log_n_untrustedstring(), except that strlen is used to* determine string length.
audit_log_nameaudit_log_name - produce AUDIT_PATH record from struct audit_names*@context: audit_context for the task*@n: audit_names structure with reportable details*@path: optional path to report instead of audit_names->name*@record_num: record number to report when
audit_log_proctitle
avc_audit_post_callbackavc_audit_post_callback - SELinux specific information* will be called by generic audit code*@ab: the audit buffer*@a: audit_data
selinux_inode_setxattr
selinux_setprocattr