| Function report | 
| Source Code: security\security.c | Create Date:2022-07-28 18:38:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Populate ordered LSMs list from comma-separated LSM name list.
Proto:static void __init ordered_lsm_parse(const char *order, const char *origin)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | order | |
| const char * | origin | 
| 213 | When lsm < __end_lsm_info cycle | 
| 214 | If Optional: default is LSM_ORDER_MUTABLE == This is only for capabilities. Then append_ordered_lsm(lsm, "first") | 
| 219 | If chosen_major_lsm Then | 
| 228 | When major < __end_lsm_info cycle | 
| 230 | If Optional: flags describing LSM & LSM_FLAG_LEGACY_MAJOR && strcmp( Required. , chosen_major_lsm) != 0 Then | 
| 232 | set_enabled(major, false) | 
| 233 | init_debug("security=%s disabled: %s\n", chosen_major_lsm, Required. ) | 
| 243 | bool found = false | 
| 245 | When lsm < __end_lsm_info cycle | 
| 246 | If Optional: default is LSM_ORDER_MUTABLE == LSM_ORDER_MUTABLE && strcmp( Required. , name) == 0 Then | 
| 248 | append_ordered_lsm(lsm, origin) | 
| 249 | found = true | 
| 253 | If Not found Then init_debug("%s ignored: %s\n", origin, name) | 
| 258 | If chosen_major_lsm Then | 
| 259 | When lsm < __end_lsm_info cycle | 
| 260 | If Is an LSM already listed in the ordered LSMs list? Then Continue | 
| 262 | If strcmp( Required. , chosen_major_lsm) == 0 Then append_ordered_lsm(lsm, "security=") | 
| 268 | When lsm < __end_lsm_info cycle | 
| 269 | If Is an LSM already listed in the ordered LSMs list? Then Continue | 
| 271 | set_enabled(lsm, false) | 
| 272 | init_debug("%s disabled: %s\n", origin, Required. ) | 
| Name | Describe | 
|---|---|
| ordered_lsm_init | 
| 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 |