Function report |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-28 19:50:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__next_profile - step to the next profile in a profile tree*@profile: current profile in tree (NOT NULL)* Perform a depth first traversal on the profile tree in a namespace* Returns: next profile or NULL if done* Requires: profile->ns.lock to be held
Proto:static struct aa_profile *__next_profile(struct aa_profile *p)
Type:struct aa_profile
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_profile * | p |
| 2162 | AA_BUG(!mutex_is_locked( & lock)) |
| 2173 | p = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(p, list) |
| 2174 | If Not list_entry_is_head(p, & profiles, list) Then Return p |
| 2182 | p = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(p, list) |
| 2183 | If Not list_entry_is_head(p, & profiles, list) Then Return p |
| 2186 | Return NULL |
| Name | Describe |
|---|---|
| next_profile | xt_profile - step to the next profile in where ever it may be*@root: root namespace (NOT NULL)*@profile: current profile (NOT NULL)* Returns: next profile or NULL if there isn't one |
| 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 |