函数逻辑报告 |
Source Code:security\apparmor\policy.c |
Create Date:2022-07-27 21:33:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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)*
函数原型:static int replacement_allowed(struct aa_profile *profile, int noreplace, const char **info)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct aa_profile * | profile | |
| int | noreplace | |
| const char ** | info |
| 583 | 如果profile则 |
| 584 | 如果flags按位与 don't allow changes/replacement 则 |
| 587 | 否则如果noreplace则 |
| 592 | 返回:0 |
| 名称 | 描述 |
|---|---|
| __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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |