函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_same_inet_acl - Check for duplicated "struct tomoyo_inet_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.

函数原型:static bool tomoyo_same_inet_acl(const struct tomoyo_acl_info *a, const struct tomoyo_acl_info *b)

返回类型:bool

参数:

类型参数名称
const struct tomoyo_acl_info *a
const struct tomoyo_acl_info *b
195  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)
196  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)
198  返回:protocol恒等于protocolmoyo_same_ipaddr_union - Check for duplicated "struct tomoyo_ipaddr_union" entry.*@a: Pointer to "struct tomoyo_ipaddr_union".*@b: Pointer to "struct tomoyo_ipaddr_union".* Returns true if @a == @b, false otherwise.moyo_same_number_union - Check for duplicated "struct tomoyo_number_union" entry.*@a: Pointer to "struct tomoyo_number_union".*@b: Pointer to "struct tomoyo_number_union".* Returns true if @a == @b, false otherwise.