Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__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

Proto:static inline struct aa_policy *__policy_strn_find(struct list_head *head, const char *str, int len)

Type:struct aa_policy

Parameter:

TypeParameterName
struct list_head *head
const char *str
intlen
192  If aa_strneq - compare null terminated @str to a non null terminated substring*@str: a null terminated string*@sub: a substring, not necessarily null terminated*@len: length of @sub to compare* The @str string must be full consumed for this to be considered Then Return policy
196  Return NULL
Caller
NameDescribe
__strn_find_child__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