Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_same_unix_acl - Check for duplicated "struct tomoyo_unix_acl" entry.*@a: Pointer to "struct tomoyo_acl_info".*@b: Pointer to "struct tomoyo_acl_info".* Returns true if @a == @b except permission bits, false otherwise.

Proto:static bool tomoyo_same_unix_acl(const struct tomoyo_acl_info *a, const struct tomoyo_acl_info *b)

Type:bool

Parameter:

TypeParameterName
const struct tomoyo_acl_info *a
const struct tomoyo_acl_info *b
214  p1 = 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.(a, typeof( * p1), head)
215  p2 = 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.(b, typeof( * p2), head)
217  Return protocol == protocol && moyo_same_name_union - Check for duplicated "struct tomoyo_name_union" entry.*@a: Pointer to "struct tomoyo_name_union".*@b: Pointer to "struct tomoyo_name_union".* Returns true if @a == @b, false otherwise.