Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditfilter.c Create Date:2022-07-28 11:25:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:audit_uid_comparator

Proto:int audit_uid_comparator(kuid_t left, unsigned int op, kuid_t right)

Type:int

Parameter:

TypeParameterName
kuid_tleft
unsigned intop
kuid_tright
1224  Case op == Audit_equal
1225  Return uid_eq(left, right)
1226  Case op == Audit_not_equal
1227  Return Not uid_eq(left, right)
1228  Case op == Audit_lt
1229  Return uid_lt(left, right)
1230  Case op == Audit_le
1231  Return uid_lte(left, right)
1232  Case op == Audit_gt
1233  Return uid_gt(left, right)
1234  Case op == Audit_ge
1235  Return uid_gte(left, right)
1236  Case op == Audit_bitmask
1237  Case op == Audit_bittest
1238  Default
1239  Return 0
Caller
NameDescribe
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