Home
last modified time | relevance | path

Searched refs:userrange (Results 1 – 14 of 14) sorted by relevance

/external/selinux/secilc/test/
Dminimum.cil17 (userrange USER ((SENS)(SENS (CAT))))
Dpolicy.cil211 (userrange foo_u low_high)
215 (userrange system_u low_high)
220 (userrange user_u (low high))
Dintegration.cil151 (userrange system_u low_high)
155 (userrange user_u (low low))
Doptional_test.cil18 (userrange USER ((SENS)(SENS (CAT))))
Dblock_test.cil18 (userrange USER ((SENS)(SENS (CAT))))
Din_test.cil18 (userrange USER ((SENS)(SENS (CAT))))
Dname_resolution_test.cil18 (userrange USER ((SENS)(SENS (CAT))))
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c238 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()
Dcil_tree.c679 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()
Dcil.c2339 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()
Dcil_build_ast.c1273 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 …]
Dcil_resolve_ast.c809 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()
Dcil_build_ast.h86 void cil_destroy_userrange(struct cil_userrange *userrange);
Dcil_internal.h958 void cil_userrange_init(struct cil_userrange **userrange);