Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_match_filetype

Proto:static int audit_match_filetype(struct audit_context *ctx, int val)

Type:int

Parameter:

TypeParameterName
struct audit_context *ctx
intval
179  mode = val
181  If Value for the false possibility is greater at compile time(!ctx) Then Return 0
185  If ino != AUDIT_INO_UNSET && (mode & S_IFMT) == mode Then Return 1
190  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