Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:match_mnt_flags - Do an ordered match on mount flags*@dfa: dfa to match against*@state: state to start in*@flags: mount flags to match against* Mount flags are encoded as an ordered match

Proto:static unsigned int match_mnt_flags(struct aa_dfa *dfa, unsigned int state, unsigned long flags)

Type:unsigned int

Parameter:

TypeParameterName
struct aa_dfa *dfa
unsigned intstate
unsigned longflags
198  When i <= 31 cycle
199  If 1 << i & flags Then state = aa_dfa_next - step one character to the next state in the dfa*@dfa: the dfa to traverse (NOT NULL)*@state: the state to start in*@c: the input character to transition on* aa_dfa_match will step through the dfa by one input character @c* Returns: state
203  Return state
Caller
NameDescribe
do_match_mntReturns 0 on success else element that match failed in, this is the* index into the mnt_info_table above