函数逻辑报告 |
Source Code:security\apparmor\match.c |
Create Date:2022-07-27 21:28:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_dfa_match_len - traverse @dfa to find state @str stops at*@dfa: the dfa to match @str against (NOT NULL)*@start: the state of the dfa to start matching in*@str: the string of bytes to match against the dfa (NOT NULL)*@len: length of the string of bytes
函数原型:unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, const char *str, int len)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct aa_dfa * | dfa | |
| unsigned int | start | |
| const char * | str | |
| int | len |
| 403 | def等于DEFAULT_TABLE(dfa) |
| 404 | base等于BASE_TABLE(dfa) |
| 405 | next等于NEXT_TABLE(dfa) |
| 406 | check等于CHECK_TABLE(dfa) |
| 409 | 如果state恒等于0则返回:0 |
| 413 | 如果tables[YYTD_ID_EC]则 |
| 415 | equiv等于EQUIV_TABLE(dfa) |
| 419 | 否则 |
| 425 | 返回:state |
| 名称 | 描述 |
|---|---|
| profile_query_cb | |
| match_component | match a profile and its associated ns component if needed* Assumes visibility test has already been done.* If a subns profile is not to be matched should be prescreened with* visibility test. |
| aa_xattrs_match | aa_xattrs_match - check whether a file matches the xattrs defined in profile*@bprm: binprm struct for the process to validate*@profile: profile to match against (NOT NULL)*@state: state to start match in* Returns: number of extended attributes that |
| match_component | match a profile and its associated ns component if needed* Assumes visibility test has already been done.* If a subns profile is not to be matched should be prescreened with* visibility test. |
| aa_profile_af_perm | Generic af perm |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |