Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\include\policy_ns.h Create Date:2022-07-28 19:49:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__aa_find_ns

Proto:static inline struct aa_ns *__aa_find_ns(struct list_head *head, const char *name)

Type:struct aa_ns

Parameter:

TypeParameterName
struct list_head *head
const char *name
150  Return __aa_findn_ns - find a namespace on a list by @name*@head: list to search for namespace on (NOT NULL)*@name: name of namespace to look for (NOT NULL)*@n: length of @name* Returns: unrefcounted namespace* Requires: rcu_read_lock be held
Caller
NameDescribe
__aa_find_or_create_nsaa_create_ns - create an ns, fail if it already exists*@parent: the parent of the namespace being created*@name: the name of the namespace*@dir: if not null the dir to put the ns entries in* Returns: the a refcounted ns that has been add or an ERR_PTR
aa_prepare_nsaa_prepare_ns - find an existing or create a new namespace of @name*@parent: ns to treat as parent*@name: the namespace to find or add (NOT NULL)* Returns: refcounted namespace or PTR_ERR if failed to create one