函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_match_filetype

函数原型:static int audit_match_filetype(struct audit_context *ctx, int val)

返回类型:int

参数:

类型参数名称
struct audit_context *ctx
intval
179  mode等于val
181  如果此条件成立可能性小(为编译器优化)(!ctx)则返回:0
185  如果ino不等于AUDIT_INO_UNSETmode按位与S_IFMT的值恒等于mode则返回:1
190  返回: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