Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__strn_find_child - find a profile on @head list using substring of @name*@head: list to search (NOT NULL)*@name: name of profile (NOT NULL)*@len: length of @name substring to match* Requires: rcu_read_lock be held* Returns: unrefcounted profile ptr, or

Proto:static struct aa_profile *__strn_find_child(struct list_head *head, const char *name, int len)

Type:struct aa_profile

Parameter:

TypeParameterName
struct list_head *head
const char *name
intlen
309  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
__find_child__find_child - find a profile on @head list with a name matching @name*@head: list to search (NOT NULL)*@name: name of profile (NOT NULL)* Requires: rcu_read_lock be held* Returns: unrefcounted profile ptr, or NULL if not found
__lookup_parent__lookup_parent - lookup the parent of a profile of name @hname*@ns: namespace to lookup profile in (NOT NULL)*@hname: hierarchical profile name to find parent of (NOT NULL)* Lookups up the parent of a fully qualified profile name, the profile* that
__lookupn_profile__lookupn_profile - lookup the profile matching @hname*@base: base list to start looking up profile name from (NOT NULL)*@hname: hierarchical profile name (NOT NULL)*@n: length of @hname* Requires: rcu_read_lock be held* Returns: unrefcounted profile