函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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".

函数原型:bool tomoyo_number_matches_group(const unsigned long min, const unsigned long max, const struct tomoyo_group *group)

返回类型:bool

参数:

类型参数名称
const unsigned longmin
const unsigned longmax
const struct tomoyo_group *group
163  bool matched = false
167  如果rue or false or TOMOYO_GC_IN_PROGRESS 则继续下一循环
169  如果min大于values[1]或max小于values[0]则继续下一循环
172  matched = true
173  退出
175  返回:matched
调用者
名称描述
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.