Function report |
Source Code:security\apparmor\lib.c |
Create Date:2022-07-28 19:50:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_compute_perms
Proto:void aa_compute_perms(struct aa_dfa *dfa, unsigned int state, struct aa_perms *perms)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_dfa * | dfa | |
| unsigned int | state | |
| struct aa_perms * | perms |
| 328 | * perms = (struct aa_perms){allow = map old dfa inline permissions to new format(dfa, state), set only when allow is set = dfa_user_audit(dfa, state), set only when ~allow | deny = dfa_user_quiet(dfa, state), } |
| 337 | allow |= map_other(dfa_other_allow(dfa, state)) |
| Name | Describe |
|---|---|
| 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: |
| label_components_match | label_components_match - find perms for all subcomponents of a 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 |
| 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 |