函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:bool tomoyo_compare_number_union(const unsigned long value, const struct tomoyo_number_union *ptr)

返回类型:bool

参数:

类型参数名称
const unsigned longvalue
const struct tomoyo_number_union *ptr
115  如果Maybe NULL. 则返回:tomoyo_number_matches_group(value, value, Maybe NULL. )
117  返回:value大于等于values[0]且value小于等于values[1]
调用者
名称描述
tomoyo_check_path_number_aclmoyo_check_path_number_acl - Check permission for path number operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise.
tomoyo_check_mkdev_aclmoyo_check_mkdev_acl - Check permission for path number number number operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise.
tomoyo_check_mount_aclmoyo_check_mount_acl - Check permission for path path path number operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise.
tomoyo_check_inet_aclmoyo_check_inet_acl - Check permission for inet domain socket operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise.