Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\group.c Create Date:2022-07-28 19:43:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_number_matches_group - Check whether the given number matches members of the given number group.*@min: Min number.*@max: Max number.*@group: Pointer to "struct tomoyo_number_group".

Proto:bool tomoyo_number_matches_group(const unsigned long min, const unsigned long max, const struct tomoyo_group *group)

Type:bool

Parameter:

TypeParameterName
const unsigned longmin
const unsigned longmax
const struct tomoyo_group *group
163  bool matched = false
167  If rue or false or TOMOYO_GC_IN_PROGRESS Then Continue
169  If min > values[1] || max < values[0] Then Continue
172  matched = true
173  Break
175  Return matched
Caller
NameDescribe
tomoyo_compare_number_unionmoyo_compare_number_union - Check whether a value matches "struct tomoyo_number_union" or not.*@value: Number to check.*@ptr: Pointer to "struct tomoyo_number_union".* Returns true if @value matches @ptr, false otherwise.