函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:smack_log_callback - SMACK specific information* will be called by generic audit code*@ab : the audit_buffer*@a : audit_data

函数原型:static void smack_log_callback(struct audit_buffer *ab, void *a)

返回类型:void

参数:

类型参数名称
struct audit_buffer *ab
void *a
314  ad等于a
315  sad等于smack_audit_data
316  写入审计信息
319  写入审计信息
320  audit_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.
321  写入审计信息
322  audit_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.
323  如果request[0]恒等于'\0'则写入审计信息
325  否则写入审计信息