Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:bool audit_string_contains_control(const char *string, size_t len)

Type:bool

Parameter:

TypeParameterName
const char *string
size_tlen
1975  When p < string + len cycle
1976  If p == '"' || p < 0x21 || p > 0x7e Then Return true
1979  Return false
Caller
NameDescribe
audit_log_n_untrustedstringaudit_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