Function report | 
Source Code:security\apparmor\label.c | 
Create Date:2022-07-28 19:54:23 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:assumes vec is sorted* Assumes @vec has null terminator at vec[n], and will null terminate* vec[n - dups]
Proto:static inline int unique(struct aa_profile **vec, int n)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_profile ** | vec | |
| int | n | 
| 226 | dups = 0 | 
| 231 | pos = 0 | 
| 233 | res = profile_cmp - profile comparison for set ordering*@a: profile to compare (NOT NULL)*@b: profile to compare (NOT NULL)* Returns: <0 if a < b* ==0 if a == b* >0 if a > b | 
| 236 | If res == 0 Then | 
| 239 | dups++ | 
| 240 | Continue | 
| 242 | pos++ | 
| 249 | Return dups | 
| Name | Describe | 
|---|---|
| aa_vec_unique | aa_vec_unique - canonical sort and unique a list of profiles*@n: number of refcounted profiles in the list (@n > 0)*@vec: list of profiles to sort and merge* Returns: the number of duplicates eliminated == references put* If @flags & VEC_FLAG_TERMINATE | 
| 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  |