函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline bool aa_strneq(const char *str, const char *sub, int len)

返回类型:bool

参数:

类型参数名称
const char *str
const char *sub
intlen
68  返回:非字符串指定长度比较且非str[len]
调用者
名称描述
__policy_strn_find__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