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 - 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 null terminated string of bytes to match against the dfa (NOT NULL)* aa_dfa_match will
Proto:unsigned int aa_dfa_match(struct aa_dfa *dfa, unsigned int start, const char *str)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_dfa * | dfa | |
| unsigned int | start | |
| const char * | str |
| 443 | def = DEFAULT_TABLE(dfa) |
| 444 | base = BASE_TABLE(dfa) |
| 445 | next = NEXT_TABLE(dfa) |
| 446 | check = CHECK_TABLE(dfa) |
| 449 | If state == 0 Then Return 0 |
| 453 | If tables[YYTD_ID_EC] Then |
| 455 | equiv = EQUIV_TABLE(dfa) |
| 460 | Else |
| 466 | Return state |
| Name | Describe |
|---|---|
| leftmatch_fb | |
| 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. |
| label_compound_match | label_compound_match - find perms for full compound label*@profile: profile to find perms for*@label: label to check access permissions for*@stack: whether this is a stacking request*@start: state to start match in*@subns: whether to do permission checks |
| aa_str_perms | aa_str_perms - find permission that match @name*@dfa: to match against (MAYBE NULL)*@state: state to start matching in*@name: string to match against dfa (NOT NULL)*@cond: conditions to consider for permission set computation (NOT NULL)*@perms: Returns - |
| 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. |
| label_compound_match | label_compound_match - find perms for full compound label*@profile: profile to find perms for*@label: label to check access permissions for*@start: state to start match in*@subns: whether to do permission checks on components in a subns*@request: |
| do_match_mnt | Returns 0 on success else element that match failed in, this is the* index into the mnt_info_table above |
| profile_umount | |
| build_pivotroot | helper fn for transition on pivotroot* Returns: label for transition or ERR_PTR. Does not return NULL |
| 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 |