函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:bool audit_string_contains_control(const char *string, size_t len)

返回类型:bool

参数:

类型参数名称
const char *string
size_tlen
1975 p小于stringlen循环
1976  如果p恒等于'"'或p小于0x21或p大于0x7e则返回:true
1979  返回:false
调用者
名称描述
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
aa_label_xaudit