Function report |
Source Code:security\apparmor\policy.c |
Create Date:2022-07-28 19:51:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__add_profile - add a profiles to list and label tree*@list: list to add it to (NOT NULL)*@profile: the profile to add (NOT NULL)* refcount @profile, should be put by __list_remove_profile* Requires: namespace lock be held, or list not be shared
Proto:static void __add_profile(struct list_head *list, struct aa_profile *profile)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct list_head * | list | |
struct aa_profile * | profile |
116 | AA_BUG(!mutex_is_locked( & lock)) |
121 | l = aa_label_insert( & labels, & label) |
123 | aa_put_label(l) |
Name | Describe |
---|---|
aa_new_null_profile | aa_new_null_profile - create or find a null-X learning profile*@parent: profile that caused this profile to be created (NOT NULL)*@hat: true if the null- learning profile is a hat*@base: name to base the null profile off of*@gfp: type of allocation |
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 |