函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static unsigned int match_mnt_flags(struct aa_dfa *dfa, unsigned int state, unsigned long flags)

返回类型:unsigned int

参数:

类型参数名称
struct aa_dfa *dfa
unsigned intstate
unsigned longflags
198 i小于等于31循环
199  如果1左移i位按位与flagsstate等于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  返回:state
调用者
名称描述
do_match_mntReturns 0 on success else element that match failed in, this is the* index into the mnt_info_table above