Function report |
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 activity | Download SCCT | Chinese |
Name: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
Proto:unsigned int aa_dfa_match_len(struct aa_dfa *dfa, unsigned int start, const char *str, int len)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 | If state == 0 Then Return 0 |
| 413 | If tables[YYTD_ID_EC] Then |
| 415 | equiv = EQUIV_TABLE(dfa) |
| 419 | Else |
| 425 | Return state |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |