/external/selinux/libsepol/include/sepol/policydb/ |
D | mls_types.h | 42 uint32_t sens; /* sensitivity */ member 53 dst->sens = src->sens; in mls_level_cpy() 77 return ((l1->sens == l2->sens) && ebitmap_cmp(&l1->cat, &l2->cat)); in mls_level_eq() 82 return ((l1->sens >= l2->sens) && ebitmap_contains(&l1->cat, &l2->cat)); in mls_level_dom() 138 uint32_t sens; member
|
/external/selinux/libsepol/src/ |
D | mls.c | 124 p_sens_val_to_name[context->range.level[l].sens - in mls_compute_context_len() 188 sens - 1]); in mls_sid_to_context() 191 p_sens_val_to_name[context->range.level[l].sens - in mls_sid_to_context() 279 if (!c->range.level[l].sens in mls_context_isvalid() 280 || c->range.level[l].sens > p->p_levels.nprim) in mls_context_isvalid() 286 sens - 1]); in mls_context_isvalid() 363 context->range.level[l].sens = levdatum->level->sens; in mls_context_to_sid() 460 dst->range.level[l].sens = src->range.level[l].sens; in mls_copy_context() 480 dst->range.level[l].sens = src->range.level[0].sens; in mls_scopy_context() 499 context->range.level[l].sens = range->level[l].sens; in mls_range_set() [all …]
|
D | policydb.c | 931 if (!levdatum->level->sens || in sens_index() 932 levdatum->level->sens > p->p_levels.nprim) in sens_index() 934 p->p_sens_val_to_name[levdatum->level->sens - 1] = (char *)key; in sens_index() 1708 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper() 1710 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper() 1712 r->level[1].sens = r->level[0].sens; in mls_read_range_helper() 1760 l->sens = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper() 1814 sl->sens = l->sens; in mls_level_to_semantic() 2850 lp->sens = le32_to_cpu(buf[0]); in mls_read_level()
|
D | write.c | 358 buf[0] = cpu_to_le32(l->sens); in mls_write_semantic_level_helper() 399 uint32_t sens; in mls_write_level() local 402 sens = cpu_to_le32(l->sens); in mls_write_level() 403 items = put_entry(&sens, sizeof(uint32_t), 1, fp); in mls_write_level() 426 buf[items++] = cpu_to_le32(r->level[0].sens); in mls_write_range_helper() 428 buf[items++] = cpu_to_le32(r->level[1].sens); in mls_write_range_helper()
|
D | link.c | 703 state->cur->map[SYM_LEVELS][level->level->sens - 1] = in sens_copy_callback() 704 base_level->level->sens; in sens_copy_callback() 1052 if (!src->sens) in mls_level_convert() 1055 assert(mod->map[SYM_LEVELS][src->sens - 1]); in mls_level_convert() 1056 dst->sens = mod->map[SYM_LEVELS][src->sens - 1]; in mls_level_convert()
|
D | module_to_cil.c | 514 cil_printf("(%s ", pdb->p_sens_val_to_name[level->sens - sens_offset]); in semantic_level_to_cil() 2265 …ln(indent, "(sensitivityaliasactual %s %s)", key, pdb->p_sens_val_to_name[level->level->sens - 1]); in sens_to_cil() 2382 cil_printf("(%s", pdb->p_sens_val_to_name[level->sens - 1]); in level_to_cil() 2855 char *sens = NULL; in level_string_to_cil() local 2862 matched = tokenize(levelstr, ':', 2, &sens, &cats); in level_string_to_cil() 2869 cil_printf("(%s", sens); in level_string_to_cil() 2891 free(sens); in level_string_to_cil()
|
/external/selinux/libsepol/cil/src/ |
D | cil_verify.c | 396 struct cil_sens *sens = node->data; in __cil_verify_ordered_node_helper() local 397 if (sens->ordered == CIL_FALSE) { in __cil_verify_ordered_node_helper() 398 …cil_log(CIL_ERR, "Sensitivity %s not in sensitivityorder statement at line %d of %s\n", sens->datu… in __cil_verify_ordered_node_helper() 466 int __cil_verify_cats_associated_with_sens(struct cil_sens *sens, struct cil_cats *cats) in __cil_verify_cats_associated_with_sens() argument 475 if (!sens->cats_list) { in __cil_verify_cats_associated_with_sens() 476 cil_log(CIL_ERR, "No categories can be used with sensitivity %s\n", sens->datum.name); in __cil_verify_cats_associated_with_sens() 483 cil_list_for_each(j, sens->cats_list) { in __cil_verify_cats_associated_with_sens() 492 cat->datum.name, sens->datum.name); in __cil_verify_cats_associated_with_sens() 561 rc = __cil_verify_levelrange_sensitivity(db, lr->low->sens, lr->high->sens); in __cil_verify_levelrange() 571 rc = __cil_verify_cats_associated_with_sens(lr->low->sens, lr->low->cats); in __cil_verify_levelrange() [all …]
|
D | cil_policy.c | 74 struct cil_list *sens; member 391 int cil_sens_to_policy(FILE **file_arr, struct cil_list *sens) in cil_sens_to_policy() argument 395 if (sens == NULL) { in cil_sens_to_policy() 399 cil_list_for_each(curr_sens, sens) { in cil_sens_to_policy() 424 char *sens_str = level->sens->datum.name; in cil_level_to_policy() 1109 struct cil_list *sens = NULL; in __cil_gen_policy_node_helper() local 1121 sens = args->sens; in __cil_gen_policy_node_helper() 1167 cil_multimap_insert(sens, datum, node->data, CIL_SENS, CIL_SENSALIAS); in __cil_gen_policy_node_helper() 1195 struct cil_list *sens = NULL; in cil_gen_policy() local 1200 cil_list_init(&sens, CIL_LIST_ITEM); in cil_gen_policy() [all …]
|
D | cil_tree.c | 510 if (level->sens != NULL) { in cil_tree_print_level() 511 cil_log(CIL_INFO, " %s", level->sens->datum.name); in cil_tree_print_level() 1141 struct cil_sens *sens = node->data; in cil_tree_print_node() local 1142 cil_log(CIL_INFO, "SENSITIVITY: %s\n", sens->datum.name); in cil_tree_print_node() 1213 struct cil_list_item *sens; in cil_tree_print_node() local 1218 cil_list_for_each(sens, sensorder->sens_list_str) { in cil_tree_print_node() 1219 if (sens->flavor == CIL_LIST) { in cil_tree_print_node() 1222 cil_list_for_each(sub, (struct cil_list*)sens->data) { in cil_tree_print_node() 1227 cil_log(CIL_INFO, " %s", (char*)sens->data); in cil_tree_print_node()
|
D | cil_reset_ast.c | 208 static void cil_reset_sens(struct cil_sens *sens) in cil_reset_sens() argument 212 cil_list_destroy(&sens->cats_list, CIL_FALSE); in cil_reset_sens() 213 sens->ordered = CIL_FALSE; in cil_reset_sens()
|
D | cil_verify.h | 69 int __cil_verify_senscat(struct cil_sens *sens, struct cil_cat *cat);
|
D | cil.c | 1269 if (strcmp(low->sens->datum.fqn, high->sens->datum.fqn)) { in cil_level_equals() 1303 str_len += strlen(lvl->sens->datum.fqn); in __cil_level_strlen() 1356 buf_pos = sprintf(str_tmp, "%s", lvl->sens->datum.fqn); in __cil_level_to_string() 1820 (*level)->sens = NULL; in cil_level_init() 1835 void cil_sens_init(struct cil_sens **sens) in cil_sens_init() argument 1837 *sens = cil_malloc(sizeof(**sens)); in cil_sens_init() 1839 cil_symtab_datum_init(&(*sens)->datum); in cil_sens_init() 1841 (*sens)->cats_list = NULL; in cil_sens_init() 1843 (*sens)->ordered = CIL_FALSE; in cil_sens_init()
|
D | cil_build_ast.h | 150 void cil_destroy_sensitivity(struct cil_sens *sens); 225 int cil_fill_level(struct cil_tree_node *sens, struct cil_level *level);
|
D | cil_internal.h | 672 struct cil_sens *sens; member 944 void cil_sens_init(struct cil_sens **sens);
|
D | cil_resolve_ast.c | 1189 struct cil_sens *sens = item->data; in __cil_ordered_item_insert() local 1190 if (sens->ordered == CIL_TRUE) { in __cil_ordered_item_insert() 1191 …cil_log(CIL_ERR, "Sensitivity %s has already been merged into the ordered list\n", sens->datum.nam… in __cil_ordered_item_insert() 1194 sens->ordered = CIL_TRUE; in __cil_ordered_item_insert() 1615 struct cil_sens *sens = NULL; in cil_resolve_senscat() local 1628 sens = (struct cil_sens *)sens_datum; in cil_resolve_senscat() 1630 if (sens->cats_list == NULL ) { in cil_resolve_senscat() 1631 cil_list_init(&sens->cats_list, CIL_CAT); in cil_resolve_senscat() 1634 cil_list_append(sens->cats_list, CIL_CAT, senscat->cats); in cil_resolve_senscat() 1653 level->sens = (struct cil_sens *)sens_datum; in cil_resolve_level()
|
D | cil_build_ast.c | 3422 struct cil_sens *sens = NULL; in cil_gen_sensitivity() local 3434 cil_sens_init(&sens); in cil_gen_sensitivity() 3438 …rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)sens, (hashtab_key_t)key, CIL_SYM_SENS, … in cil_gen_sensitivity() 3448 cil_destroy_sensitivity(sens); in cil_gen_sensitivity() 3453 void cil_destroy_sensitivity(struct cil_sens *sens) in cil_destroy_sensitivity() argument 3455 if (sens == NULL) { in cil_destroy_sensitivity() 3459 cil_symtab_datum_destroy(&sens->datum); in cil_destroy_sensitivity() 3461 cil_list_destroy(&sens->cats_list, CIL_FALSE); in cil_destroy_sensitivity() 3463 free(sens); in cil_destroy_sensitivity()
|
/external/selinux/policycoreutils/mcstrans/src/ |
D | mls_level.c | 28 l->sens = atoi(scontextp + 1); in mls_level_from_string() 91 len += snprintf(temp, sizeof(temp), "s%d", l->sens); in mls_compute_string_len() 129 p += sprintf(p, "s%d", l->sens); in mls_level_to_string()
|
D | mcstrans.c | 121 unsigned int sens; member 232 if (sscanf(raw,"s%u", &mls->sens) != 1) in parse_raw() 234 raw += numdigits(mls->sens) + 1; in parse_raw() 469 if (sscanf(raw,"s%u", &constraint->sens) != 1) { in add_constraint() 529 if (s->sens == l->sens) { in violates_constraints() 1314 int doInverse = l->sens > 0; in compute_trans_from_raw() 1320 if (l->sens == bc->level->sens) { in compute_trans_from_raw() 1323 last->level->sens == bc->level->sens && in compute_trans_from_raw()
|
/external/selinux/libsepol/cil/test/integration_testing/ |
D | mls_policy.cil | 16 (sensitivityalias s3 sens) 21 ;(sensitivitycategory sens (c2))
|
/external/icu/icu4c/source/data/lang/ |
D | pt_PT.txt | 12 colCaseLevel{"Ordenação sensível a maiúsculas e minúsculas"} 124 yes{"Ordenar sensível a maiúsculas/minúsculas"}
|
/external/selinux/checkpolicy/ |
D | policy_define.c | 732 level->sens = 0; /* actual value set in define_dominance */ in define_sens() 858 if (datum->level->sens != 0) { in define_dominance() 864 datum->level->sens = ++order; in define_dominance() 4101 uint32_t level_value = levdatum->level->sens - 1; in parse_categories() 4228 usrdatum->dfltlevel.sens = levdatum->level->sens; in define_user() 4253 usrdatum->range.level[l].sens = levdatum->level->sens; in define_user() 4409 c->range.level[l].sens = levdatum->level->sens; in parse_security_context() 4428 c->range.level[1].sens = c->range.level[0].sens; in parse_security_context() 5439 rule->trange.level[l].sens = levdatum->level->sens; in define_range_trans()
|
D | module_compiler.c | 148 *dest_value = ((level_datum_t *)s)->level->sens; in declare_symbol() 643 *dest_value = ((level_datum_t *)s)->level->sens; in require_symbol() 1140 &level->level->sens, &level->level->sens); in require_sens()
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 125 CU_ASSERT(p->sym_val_to_name[SYM_LEVELS][d->level->sens - 1] == (char *)key); in level_test_index()
|
/external/kernel-headers/original/uapi/linux/ |
D | wireless.h | 922 struct iw_param sens; /* signal level threshold */ member
|
/external/fio/ |
D | gfio.c | 192 gboolean sens = buttonspec->start_sensitive; in add_button() local 197 sens = buttonspec->start_sensitive; in add_button() 198 gtk_widget_set_tooltip_text(button, get_button_tooltip(buttonspec, sens)); in add_button() 199 gtk_widget_set_sensitive(button, sens); in add_button()
|