函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-27 12:29:47
Last Modify:2020-03-17 16:31:21 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:match_tree_refs

函数原型:static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree)

返回类型:int

参数:

类型参数名称
struct audit_context *ctx
struct audit_tree *tree
289  如果非tree则返回:0
292 p不等于trees循环
293 n小于31循环如果audit_tree_match(c[n], tree)则
295  返回:1
298  如果p
299 n小于31循环如果audit_tree_match(c[n], tree)则
301  返回:1
303  返回:0
调用者
名称描述
audit_filter_rulesCompare a task_struct with an audit_rule. Return 1 on match, 0* otherwise.* If task_creation is true, this is an explicit indication that we are* filtering a task rule at task creation time. This and tsk == current are