Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_compare_name_union - Check whether a name matches "struct tomoyo_name_union" or not.*@name: Pointer to "struct tomoyo_path_info".*@ptr: Pointer to "struct tomoyo_name_union".* Returns "struct tomoyo_path_info" if @name matches @ptr, NULL otherwise.

Proto:const struct tomoyo_path_info *tomoyo_compare_name_union(const struct tomoyo_path_info *name, const struct tomoyo_name_union *ptr)

Type:struct tomoyo_path_info

Parameter:

TypeParameterName
const struct tomoyo_path_info *name
const struct tomoyo_name_union *ptr
85  If group Then Return tomoyo_path_matches_group(name, group)
87  If moyo_path_matches_pattern - Check whether the given filename matches the given pattern.*@filename: The filename to check.*@pattern: The pattern to compare.* Returns true if matches, false otherwise.* The following patterns are available.* \\ \ itself. Then Return Either @filename or @group is NULL.
89  Return NULL
Caller
NameDescribe
tomoyo_conditionmoyo_condition - Check condition part.*@r: Pointer to "struct tomoyo_request_info".*@cond: Pointer to "struct tomoyo_condition". Maybe NULL.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock().
tomoyo_check_path_aclmoyo_check_path_acl - Check permission for path operation
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_path2_aclmoyo_check_path2_acl - Check permission for path path 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_unix_aclmoyo_check_unix_acl - Check permission for unix domain socket operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise.