函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline struct aa_policy *__policy_find(struct list_head *head, const char *name)

返回类型:struct aa_policy

参数:

类型参数名称
struct list_head *head
const char *name
167  如果非字符串比较则返回:policy
170  返回:NULL