函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:const struct tomoyo_path_info *tomoyo_compare_name_union(const struct tomoyo_path_info *name, const struct tomoyo_name_union *ptr)

返回类型:struct tomoyo_path_info

参数:

类型参数名称
const struct tomoyo_path_info *name
const struct tomoyo_name_union *ptr
85  如果group则返回:tomoyo_path_matches_group(name, group)
87  如果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.则返回:Either @filename or @group is NULL.
89  返回:NULL
调用者
名称描述
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.