Function report | 
Source Code:security\apparmor\include\policy.h | 
Create Date:2022-07-28 19:49:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:aa_get_profile_not0 - increment refcount on profile @p found via lookup*@p: profile (MAYBE NULL)* Returns: pointer to @p if @p is NULL will return NULL* Requires: @p must be held with valid refcount when called
Proto:static inline struct aa_profile *aa_get_profile_not0(struct aa_profile *p)
Type:struct aa_profile
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_profile * | p | 
| 260 | If p && kref_get_unless_zero - Increment refcount for object unless it is zero Then Return p | 
| 263 | Return NULL | 
| Name | Describe | 
|---|---|
| find_attach | d_attach - do attachment search for unconfined processes*@bprm - binprm structure of transitioning task*@ns: the current namespace (NOT NULL)*@head - profile list to walk (NOT NULL)*@name - to match against (NOT NULL)*@info - info message if there was an | 
| aa_find_child | aa_find_child - find a profile by @name in @parent*@parent: profile to search (NOT NULL)*@name: profile name to search for (NOT NULL)* Returns: a refcounted profile or NULL if not found | 
| aa_lookupn_profile | aa_lookup_profile - find a profile by its full or partial name*@ns: the namespace to start from (NOT NULL)*@hname: name to do lookup on. Does not contain namespace prefix (NOT NULL)*@n: size of @hname* Returns: refcounted profile or NULL if not found | 
| 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  |