Searched refs:userrange (Results 1 – 19 of 19) sorted by relevance
/external/selinux/secilc/docs/ |
D | cil_user_statements.md | 222 userrange section in User Statements 229 (userrange user_id levelrange_id) 240 <td align="left"><p><code>userrange</code></p></td> 241 <td align="left"><p>The <code>userrange</code> keyword.</p></td> 274 (userrange user low_high) 276 ;(userrange user (systemLow systemHigh)) 277 ;(userrange user (systemLow (s0 (c0 c1)))) 278 ;(userrange user ((s0) (s0 (c0 c1)))) 374 …viously declared MLS [`userrange`](cil_user_statements.md#userrange). Note that the [`userrange`](… 402 …userrange</code> identifier that has been associated to the <code>user</code> identifier. This may… [all …]
|
D | README.md | 141 * [userrange](cil_user_statements.md#userrange)
|
D | cil_mls_labeling_statements.md | 569 (userrange user (systemLow systemLow))
|
/external/selinux/secilc/test/ |
D | policy.cil | 236 (userrange u5 low_high) 237 (userrange u6 low_high) 241 (userrange foo_u low_high) 245 (userrange system_u low_high) 249 (userrange user_u (low high))
|
D | minimum.cil | 17 (userrange USER ((SENS)(SENS (CAT))))
|
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 | neverallow.cil | 17 (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))))
|
D | bounds.cil | 17 (userrange USER ((SENS)(SENS (CAT))))
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 263 static inline void cil_reset_userrange(struct cil_userrange *userrange) in cil_reset_userrange() argument 265 if (userrange->range_str == NULL) { in cil_reset_userrange() 266 cil_reset_levelrange(userrange->range); in cil_reset_userrange()
|
D | cil_tree.c | 682 struct cil_userrange *userrange = node->data; in cil_tree_print_node() local 685 if (userrange->user_str != NULL) { in cil_tree_print_node() 686 cil_log(CIL_INFO, " %s", userrange->user_str); in cil_tree_print_node() 689 if (userrange->range != NULL) { in cil_tree_print_node() 691 cil_tree_print_levelrange(userrange->range); in cil_tree_print_node() 693 } else if (userrange->range_str != NULL) { in cil_tree_print_node() 694 cil_log(CIL_INFO, " %s", userrange->range_str); in cil_tree_print_node()
|
D | cil.c | 2419 void cil_userrange_init(struct cil_userrange **userrange) in cil_userrange_init() argument 2421 *userrange = cil_malloc(sizeof(**userrange)); in cil_userrange_init() 2423 (*userrange)->user_str = NULL; in cil_userrange_init() 2424 (*userrange)->range_str = NULL; in cil_userrange_init() 2425 (*userrange)->range = NULL; in cil_userrange_init()
|
D | cil_build_ast.c | 1428 struct cil_userrange *userrange = NULL; in cil_gen_userrange() local 1440 cil_userrange_init(&userrange); in cil_gen_userrange() 1442 userrange->user_str = parse_current->next->data; in cil_gen_userrange() 1445 userrange->range_str = parse_current->next->next->data; in cil_gen_userrange() 1447 cil_levelrange_init(&userrange->range); in cil_gen_userrange() 1449 rc = cil_fill_levelrange(parse_current->next->next->cl_head, userrange->range); in cil_gen_userrange() 1455 ast_node->data = userrange; in cil_gen_userrange() 1463 cil_destroy_userrange(userrange); in cil_gen_userrange() 1467 void cil_destroy_userrange(struct cil_userrange *userrange) in cil_destroy_userrange() argument 1469 if (userrange == NULL) { in cil_destroy_userrange() [all …]
|
D | cil_resolve_ast.c | 848 struct cil_userrange *userrange = current->data; in cil_resolve_userrange() local 855 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange() 870 if (userrange->range_str != NULL) { in cil_resolve_userrange() 871 …rc = cil_resolve_name(current, userrange->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datum… in cil_resolve_userrange() 875 userrange->range = (struct cil_levelrange*)range_datum; in cil_resolve_userrange() 876 user->range = userrange->range; in cil_resolve_userrange() 885 } else if (userrange->range != NULL) { in cil_resolve_userrange() 886 rc = cil_resolve_levelrange(current, userrange->range, extra_args); in cil_resolve_userrange() 890 user->range = userrange->range; in cil_resolve_userrange()
|
D | cil_build_ast.h | 90 void cil_destroy_userrange(struct cil_userrange *userrange);
|
D | cil_internal.h | 1003 void cil_userrange_init(struct cil_userrange **userrange);
|