函数逻辑报告 |
Source Code:security\security.c |
Create Date:2022-07-27 20:12:09 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Populate ordered LSMs list from comma-separated LSM name list.
函数原型:static void __init ordered_lsm_parse(const char *order, const char *origin)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | order | |
| const char * | origin |
| 213 | 以lsm小于__end_lsm_info循环 |
| 214 | 如果 Optional: default is LSM_ORDER_MUTABLE 恒等于 This is only for capabilities. 则append_ordered_lsm(lsm, "first") |
| 219 | 如果chosen_major_lsm则 |
| 228 | 以major小于__end_lsm_info循环 |
| 230 | 如果 Optional: flags describing LSM 按位与LSM_FLAG_LEGACY_MAJOR且字符串比较不等于0则 |
| 232 | set_enabled(major, false) |
| 233 | init_debug("security=%s disabled: %s\n", chosen_major_lsm, Required. ) |
| 243 | bool found = false |
| 245 | 以lsm小于__end_lsm_info循环 |
| 246 | 如果 Optional: default is LSM_ORDER_MUTABLE 恒等于LSM_ORDER_MUTABLE且字符串比较恒等于0则 |
| 248 | append_ordered_lsm(lsm, origin) |
| 249 | found = true |
| 253 | 如果非found则init_debug("%s ignored: %s\n", origin, name) |
| 258 | 如果chosen_major_lsm则 |
| 259 | 以lsm小于__end_lsm_info循环 |
| 260 | 如果Is an LSM already listed in the ordered LSMs list? 则继续下一循环 |
| 262 | 如果字符串比较恒等于0则append_ordered_lsm(lsm, "security=") |
| 268 | 以lsm小于__end_lsm_info循环 |
| 269 | 如果Is an LSM already listed in the ordered LSMs list? 则继续下一循环 |
| 271 | set_enabled(lsm, false) |
| 272 | init_debug("%s disabled: %s\n", origin, Required. ) |
| 275 | 释放内存 |
| 名称 | 描述 |
|---|---|
| ordered_lsm_init |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |