Function report |
Source Code:security\apparmor\policy.c |
Create Date:2022-07-28 19:52:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:placement_allowed - test to see if replacement is allowed*@profile: profile to test if it can be replaced (MAYBE NULL)*@noreplace: true if replacement shouldn't be allowed but addition is okay*@info: Returns - info about why replacement failed (NOT NULL)*
Proto:static int replacement_allowed(struct aa_profile *profile, int noreplace, const char **info)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct aa_profile * | profile | |
| int | noreplace | |
| const char ** | info |
| 583 | If profile Then |
| 584 | If flags & don't allow changes/replacement Then |
| 587 | Else if noreplace Then |
| 592 | Return 0 |
| Name | Describe |
|---|---|
| __lookup_replace | __lookup_replace - lookup replacement information for a profile*@ns - namespace the lookup occurs in*@hname - name of profile to lookup*@noreplace - true if not replacing an existing profile*@p - Returns: profile to be replaced*@info - Returns: info |
| 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 |