Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:For DFAs that don't support extended tagging of states

Proto:static bool is_loop(struct match_workbuf *wb, unsigned int state, unsigned int *adjust)

Type:bool

Parameter:

TypeParameterName
struct match_workbuf *wb
unsigned intstate
unsigned int *adjust
627  pos = pos
630  If history[pos] < state Then Return false
633  When i <= len cycle
634  If history[pos] == state Then
635  adjust = i
636  Return true
638  If pos == 0 Then pos = WB_HISTORY_SIZE
640  pos--
643  adjust = i
644  Return true
Caller
NameDescribe
leftmatch_fb