Function report |
Source Code:security\apparmor\label.c |
Create Date:2022-07-28 19:54:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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:
Proto:static int label_compound_match(struct aa_profile *profile, struct aa_label *label, unsigned int state, bool subns, unsigned int request, struct aa_perms *perms)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_profile * | profile | |
| struct aa_label * | label | |
| unsigned int | state | |
| bool | subns | |
| unsigned int | request | |
| struct aa_perms * | perms |
| 1288 | Go to next |
| 1293 | Return 0 |
| 1295 | next : |
| 1304 | aa_compute_perms(Generic policy DFA specific rule types will be subsections of it , state, perms) |
| 1309 | Return 0 |
| 1311 | fail : |
| 1313 | Return state |
| Name | Describe |
|---|---|
| aa_label_match | aa_label_match - do a multi-component label match*@profile: profile to match against (NOT NULL)*@label: label to match (NOT NULL)*@state: state to start in*@subns: whether to match subns components*@request: permission request*@perms: Returns computed |
| label_match | label_match - do a multi-component label match*@profile: profile to match against (NOT NULL)*@label: label to match (NOT NULL)*@stack: whether this is a stacking request*@state: state to start in*@subns: whether to match subns components*@request: |
| 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 |