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_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

Proto:static inline struct aa_ns *__aa_findn_ns(struct list_head *head, const char *name, size_t n)

Type:struct aa_ns

Parameter:

TypeParameterName
struct list_head *head
const char *name
size_tn
144  Return __policy_strn_find - find a policy that's name matches @len chars of @str*@head: list to search (NOT NULL)*@str: string to search for (NOT NULL)*@len: length of match required* Requires: rcu_read_lock be held* Returns: unrefcounted policy that match @str
Caller
NameDescribe
ns_rmdir_op
aa_findn_nsaa_findn_ns - look up a profile namespace on the namespace list*@root: namespace to search in (NOT NULL)*@name: name of namespace to find (NOT NULL)*@n: length of @name* Returns: a refcounted namespace on the list, or NULL if no namespace
__aa_lookupn_ns__aa_lookupn_ns - lookup the namespace matching @hname*@base: base list to start looking up profile name from (NOT NULL)*@hname: hierarchical ns name (NOT NULL)*@n: length of @hname* Requires: rcu_read_lock be held* Returns: unrefcounted ns pointer or