Function report |
Source Code:security\apparmor\domain.c |
Create Date:2022-07-28 19:51:35 |
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*@stack: whether this is a stacking request*@start: state to start match in*@subns: whether to do permission checks
Proto:static int label_compound_match(struct aa_profile *profile, struct aa_label *label, bool stack, 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 | |
bool | stack | |
unsigned int | state | |
bool | subns | |
unsigned int | request | |
struct aa_perms * | perms |
143 | If Not aa_ns_visible(ns, ns, subns) Then Continue |
148 | Go to next |
153 | Return 0 |
155 | next : |
157 | If Not aa_ns_visible(ns, ns, subns) Then Continue |
164 | perms = aa_compute_fperms(dfa, state, & cond) |
169 | Return 0 |
171 | fail : |
173 | Return -EACCES |
Name | Describe |
---|---|
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 |