Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:bool tomoyo_compare_number_union(const unsigned long value, const struct tomoyo_number_union *ptr)

Type:bool

Parameter:

TypeParameterName
const unsigned longvalue
const struct tomoyo_number_union *ptr
115  If Maybe NULL. Then Return tomoyo_number_matches_group(value, value, Maybe NULL. )
117  Return value >= values[0] && value <= values[1]
Caller
NameDescribe
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.