函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\audit.c Create Date:2022-07-27 12:26:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void audit_log_n_untrustedstring(struct audit_buffer *ab, const char *string, size_t len)

返回类型:void

参数:

类型参数名称
struct audit_buffer *ab
const char *string
size_tlen
1999  如果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 checkaudit_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  否则Format a string of no more than slen characters into the audit buffer,* enclosed in quote marks.
调用者
名称描述
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