Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_gid_comparator

Proto:int audit_gid_comparator(kgid_t left, unsigned int op, kgid_t right)

Type:int

Parameter:

TypeParameterName
kgid_tleft
unsigned intop
kgid_tright
1246  Case op == Audit_equal
1247  Return gid_eq(left, right)
1248  Case op == Audit_not_equal
1249  Return Not gid_eq(left, right)
1250  Case op == Audit_lt
1251  Return gid_lt(left, right)
1252  Case op == Audit_le
1253  Return gid_lte(left, right)
1254  Case op == Audit_gt
1255  Return gid_gt(left, right)
1256  Case op == Audit_ge
1257  Return gid_gte(left, right)
1258  Case op == Audit_bitmask
1259  Case op == Audit_bittest
1260  Default
1261  Return 0
Caller
NameDescribe
audit_filter
audit_compare_gid
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