Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_check_env_acl - Check permission for environment variable's name.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise.

Proto:static bool tomoyo_check_env_acl(struct tomoyo_request_info *r, const struct tomoyo_acl_info *ptr)

Type:bool

Parameter:

TypeParameterName
struct tomoyo_request_info *r
const struct tomoyo_acl_info *ptr
21  acl = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(ptr, typeof( * acl), head)
24  Return 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.