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:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static inline bool aa_strneq(const char *str, const char *sub, int len)

Type:bool

Parameter:

TypeParameterName
const char *str
const char *sub
intlen
68  Return Not strncmp(str, sub, len) && Not str[len]