Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-28 11:26:33
Last Modify:2020-03-17 16:31:21 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:match_tree_refs

Proto:static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree)

Type:int

Parameter:

TypeParameterName
struct audit_context *ctx
struct audit_tree *tree
289  If Not tree Then Return 0
292  When p != trees cycle
293  When n < 31 cycle If audit_tree_match(c[n], tree) Then
295  Return 1
298  If p Then
299  When n < 31 cycle If audit_tree_match(c[n], tree) Then
301  Return 1
303  Return 0
Caller
NameDescribe
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