函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_uid_comparator

函数原型:int audit_uid_comparator(kuid_t left, unsigned int op, kuid_t right)

返回类型:int

参数:

类型参数名称
kuid_tleft
unsigned intop
kuid_tright
1224  :op恒等于Audit_equal
1225  返回:uid_eq(left, right)
1226  :op恒等于Audit_not_equal
1227  返回:非uid_eq(left, right)
1228  :op恒等于Audit_lt
1229  返回:uid_lt(left, right)
1230  :op恒等于Audit_le
1231  返回:uid_lte(left, right)
1232  :op恒等于Audit_gt
1233  返回:uid_gt(left, right)
1234  :op恒等于Audit_ge
1235  返回:uid_gte(left, right)
1236  :op恒等于Audit_bitmask
1237  :op恒等于Audit_bittest
1238  默认
1239  返回:0
调用者
名称描述
audit_filter
audit_compare_uid
audit_field_compare
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