函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline struct aa_ns *__aa_findn_ns(struct list_head *head, const char *name, size_t n)

返回类型:struct aa_ns

参数:

类型参数名称
struct list_head *head
const char *name
size_tn
144  返回:__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
调用者
名称描述
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
__aa_find_ns