函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__ns_list_release

函数原型:static void __ns_list_release(struct list_head *head)

返回类型:void

参数:

类型参数名称
struct list_head *head
378  list_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another type * to use as temporary storage*@head: the head for your list.(ns, tmp, head, list)
379  __aa_remove_ns - remove a namespace and all its children*@ns: namespace to be removed (NOT NULL)* Requires: ns->parent->lock be held and ns removed from parent.
调用者
名称描述
destroy_nsdestroy_ns - remove everything contained by @ns*@ns: namespace to have it contents removed (NOT NULL)