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_find - find a policy by @name on a policy list*@head: list to search (NOT NULL)*@name: name to search for (NOT NULL)* Requires: rcu_read_lock be held* Returns: unrefcounted policy that match @name or NULL if not found

Proto:static inline struct aa_policy *__policy_find(struct list_head *head, const char *name)

Type:struct aa_policy

Parameter:

TypeParameterName
struct list_head *head
const char *name
167  If Not strcmp(name, name) Then Return policy
170  Return NULL