Function report |
Source Code:security\apparmor\policy.c |
Create Date:2022-07-28 19:51:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__lookup_parent - lookup the parent of a profile of name @hname*@ns: namespace to lookup profile in (NOT NULL)*@hname: hierarchical profile name to find parent of (NOT NULL)* Lookups up the parent of a fully qualified profile name, the profile* that
Proto:static struct aa_policy *__lookup_parent(struct aa_ns *ns, const char *hname)
Type:struct aa_policy
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_ns * | ns | |
| const char * | hname |
| 364 | struct aa_profile * profile = NULL |
| 372 | If Not profile Then Return NULL |
| 380 | Return base |
| Name | Describe |
|---|---|
| aa_replace_profiles | aa_replace_profiles - replace profile(s) on the profile list*@policy_ns: namespace load is occurring on*@label: label that is attempting to load/replace policy*@mask: permission mask*@udata: serialized data stream (NOT NULL)* unpack and replace a profile |
| 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 |