函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:moyo_del_acl - Delete members in "struct tomoyo_acl_info".*@element: Pointer to "struct list_head".* Returns nothing.

函数原型:static void tomoyo_del_acl(struct list_head *element)

返回类型:void

参数:

类型参数名称
struct list_head *element
158  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.(element, typeof( * acl), list)
161  moyo_put_condition - Drop reference on "struct tomoyo_condition".*@cond: Pointer to "struct tomoyo_condition". Maybe NULL.* Returns nothing.
163  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_PATH_ACL
165  entry等于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.(acl, typeof( * entry), head)
167  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
169  退出
170  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_PATH2_ACL
172  entry等于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.(acl, typeof( * entry), head)
174  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
175  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
177  退出
178  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_PATH_NUMBER_ACL
180  entry等于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.(acl, typeof( * entry), head)
182  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
183  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
185  退出
186  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_MKDEV_ACL
188  entry等于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.(acl, typeof( * entry), head)
190  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
191  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
192  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
193  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
195  退出
196  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_MOUNT_ACL
198  entry等于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.(acl, typeof( * entry), head)
200  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
201  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
202  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
203  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
205  退出
206  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_ENV_ACL
208  entry等于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.(acl, typeof( * entry), head)
211  moyo_put_name - Drop reference on "struct tomoyo_name".*@name: Pointer to "struct tomoyo_path_info". Maybe NULL.* Returns nothing.
213  退出
214  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_INET_ACL
216  entry等于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.(acl, typeof( * entry), head)
219  moyo_put_group - Drop reference on "struct tomoyo_group".*@group: Pointer to "struct tomoyo_group". Maybe NULL.* Returns nothing.
220  moyo_put_number_union - Drop reference on "struct tomoyo_number_union".*@ptr: Pointer to "struct tomoyo_number_union".* Returns nothing.
222  退出
223  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_UNIX_ACL
225  entry等于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.(acl, typeof( * entry), head)
228  moyo_put_name_union - Drop reference on "struct tomoyo_name_union".*@ptr: Pointer to "struct tomoyo_name_union".* Returns nothing.
230  退出
231  : One of values in "enum tomoyo_acl_entry_type_index". 恒等于TOMOYO_TYPE_MANUAL_TASK_ACL
233  entry等于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.(acl, typeof( * entry), head)
236  moyo_put_name - Drop reference on "struct tomoyo_name".*@name: Pointer to "struct tomoyo_path_info". Maybe NULL.* Returns nothing.
238  退出
调用者
名称描述
tomoyo_del_domainmoyo_del_domain - Delete members in "struct tomoyo_domain_info".*@element: Pointer to "struct list_head".* Returns nothing.* Caller holds tomoyo_policy_lock mutex.
tomoyo_try_to_gcmoyo_try_to_gc - Try to kfree() an entry.*@type: One of values in "enum tomoyo_policy_id".*@element: Pointer to "struct list_head".* Returns nothing.* Caller holds tomoyo_policy_lock mutex.