Searched refs:userrange (Results 1 – 14 of 14) sorted by relevance
/external/selinux/secilc/test/ |
D | minimum.cil | 17 (userrange USER ((SENS)(SENS (CAT))))
|
D | policy.cil | 211 (userrange foo_u low_high) 215 (userrange system_u low_high) 220 (userrange user_u (low high))
|
D | integration.cil | 151 (userrange system_u low_high) 155 (userrange user_u (low low))
|
D | optional_test.cil | 18 (userrange USER ((SENS)(SENS (CAT))))
|
D | block_test.cil | 18 (userrange USER ((SENS)(SENS (CAT))))
|
D | in_test.cil | 18 (userrange USER ((SENS)(SENS (CAT))))
|
D | name_resolution_test.cil | 18 (userrange USER ((SENS)(SENS (CAT))))
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 238 static inline void cil_reset_userrange(struct cil_userrange *userrange) in cil_reset_userrange() argument 240 if (userrange->range_str == NULL) { in cil_reset_userrange() 241 cil_reset_levelrange(userrange->range); in cil_reset_userrange()
|
D | cil_tree.c | 679 struct cil_userrange *userrange = node->data; in cil_tree_print_node() local 682 if (userrange->user_str != NULL) { in cil_tree_print_node() 683 cil_log(CIL_INFO, " %s", userrange->user_str); in cil_tree_print_node() 686 if (userrange->range != NULL) { in cil_tree_print_node() 688 cil_tree_print_levelrange(userrange->range); in cil_tree_print_node() 690 } else if (userrange->range_str != NULL) { in cil_tree_print_node() 691 cil_log(CIL_INFO, " %s", userrange->range_str); in cil_tree_print_node()
|
D | cil.c | 2339 void cil_userrange_init(struct cil_userrange **userrange) in cil_userrange_init() argument 2341 *userrange = cil_malloc(sizeof(**userrange)); in cil_userrange_init() 2343 (*userrange)->user_str = NULL; in cil_userrange_init() 2344 (*userrange)->range_str = NULL; in cil_userrange_init() 2345 (*userrange)->range = NULL; in cil_userrange_init()
|
D | cil_build_ast.c | 1273 struct cil_userrange *userrange = NULL; in cil_gen_userrange() local 1285 cil_userrange_init(&userrange); in cil_gen_userrange() 1287 userrange->user_str = parse_current->next->data; in cil_gen_userrange() 1290 userrange->range_str = parse_current->next->next->data; in cil_gen_userrange() 1292 cil_levelrange_init(&userrange->range); in cil_gen_userrange() 1294 rc = cil_fill_levelrange(parse_current->next->next->cl_head, userrange->range); in cil_gen_userrange() 1300 ast_node->data = userrange; in cil_gen_userrange() 1308 cil_destroy_userrange(userrange); in cil_gen_userrange() 1312 void cil_destroy_userrange(struct cil_userrange *userrange) in cil_destroy_userrange() argument 1314 if (userrange == NULL) { in cil_destroy_userrange() [all …]
|
D | cil_resolve_ast.c | 809 struct cil_userrange *userrange = current->data; in cil_resolve_userrange() local 815 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange() 821 if (userrange->range_str != NULL) { in cil_resolve_userrange() 822 …rc = cil_resolve_name(current, userrange->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datum… in cil_resolve_userrange() 826 userrange->range = (struct cil_levelrange*)range_datum; in cil_resolve_userrange() 827 user->range = userrange->range; in cil_resolve_userrange() 836 } else if (userrange->range != NULL) { in cil_resolve_userrange() 837 rc = cil_resolve_levelrange(current, userrange->range, extra_args); in cil_resolve_userrange() 841 user->range = userrange->range; in cil_resolve_userrange()
|
D | cil_build_ast.h | 86 void cil_destroy_userrange(struct cil_userrange *userrange);
|
D | cil_internal.h | 958 void cil_userrange_init(struct cil_userrange **userrange);
|