函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__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.

函数原型:void __aa_remove_ns(struct aa_ns *ns)

返回类型:void

参数:

类型参数名称
struct aa_ns *ns
363  删除不需要重新初始化的列表项
364  destroy_ns - remove everything contained by @ns*@ns: namespace to have it contents removed (NOT NULL)
365  aa_put_ns - decrement refcount on @ns*@ns: namespace to put reference of* Decrement reference count of @ns and if no longer in use free it
调用者
名称描述
aa_remove_profilesaa_remove_profiles - remove profile(s) from the system*@policy_ns: namespace the remove is being done from*@subj: label attempting to remove policy*@fqname: name of the profile or namespace to remove (NOT NULL)*@size: size of the name* Remove a profile or
__ns_list_release
ns_rmdir_op