Searched refs:userrange (Results 1 – 21 of 21) sorted by relevance
/third_party/selinux/secilc/docs/ |
D | cil_user_statements.md | 242 userrange section in User Statements 250 (userrange user_id levelrange_id) 262 <td align="left"><p><code>userrange</code></p></td> 263 <td align="left"><p>The <code>userrange</code> keyword.</p></td> 297 (userrange user low_high) 299 ;(userrange user (systemLow systemHigh)) 300 ;(userrange user (systemLow (s0 (c0 c1)))) 301 ;(userrange user ((s0) (s0 (c0 c1)))) 406 …viously declared MLS [`userrange`](cil_user_statements.md#userrange). Note that the [`userrange`](… 436 …userrange</code> identifier that has been associated to the <code>user</code> identifier. This may… [all …]
|
D | README.md | 142 * [userrange](cil_user_statements.md#userrange)
|
D | cil_mls_labeling_statements.md | 612 (userrange user (systemLow systemLow))
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 292 static inline void cil_reset_userrange(struct cil_userrange *userrange) in cil_reset_userrange() argument 294 if (userrange->range_str == NULL) { in cil_reset_userrange() 295 cil_reset_levelrange(userrange->range); in cil_reset_userrange() 297 userrange->range = NULL; in cil_reset_userrange()
|
D | cil_write_ast.c | 965 struct cil_userrange *userrange = node->data; in cil_write_ast_node() local 966 fprintf(out, "(userrange %s ", userrange->user_str); in cil_write_ast_node() 967 if (userrange->range) in cil_write_ast_node() 968 write_range(out, userrange->range, CIL_TRUE); in cil_write_ast_node() 970 fprintf(out, "%s", userrange->range_str); in cil_write_ast_node()
|
D | cil.c | 2763 void cil_userrange_init(struct cil_userrange **userrange) in cil_userrange_init() argument 2765 *userrange = cil_malloc(sizeof(**userrange)); in cil_userrange_init() 2767 (*userrange)->user_str = NULL; in cil_userrange_init() 2768 (*userrange)->range_str = NULL; in cil_userrange_init() 2769 (*userrange)->range = NULL; in cil_userrange_init()
|
D | cil_build_ast.c | 1522 struct cil_userrange *userrange = NULL; in cil_gen_userrange() local 1534 cil_userrange_init(&userrange); in cil_gen_userrange() 1536 userrange->user_str = parse_current->next->data; in cil_gen_userrange() 1539 userrange->range_str = parse_current->next->next->data; in cil_gen_userrange() 1541 cil_levelrange_init(&userrange->range); in cil_gen_userrange() 1543 rc = cil_fill_levelrange(parse_current->next->next->cl_head, userrange->range); in cil_gen_userrange() 1549 ast_node->data = userrange; in cil_gen_userrange() 1556 cil_destroy_userrange(userrange); in cil_gen_userrange() 1560 void cil_destroy_userrange(struct cil_userrange *userrange) in cil_destroy_userrange() argument 1562 if (userrange == NULL) { in cil_destroy_userrange() [all …]
|
D | cil_resolve_ast.c | 924 struct cil_userrange *userrange = current->data; in cil_resolve_userrange() local 931 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange() 946 if (userrange->range_str != NULL) { in cil_resolve_userrange() 947 …rc = cil_resolve_name(current, userrange->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datum… in cil_resolve_userrange() 951 userrange->range = (struct cil_levelrange*)range_datum; in cil_resolve_userrange() 952 user->range = userrange->range; in cil_resolve_userrange() 961 } else if (userrange->range != NULL) { in cil_resolve_userrange() 962 rc = cil_resolve_levelrange(current, userrange->range, extra_args); in cil_resolve_userrange() 966 user->range = userrange->range; in cil_resolve_userrange()
|
D | cil_build_ast.h | 92 void cil_destroy_userrange(struct cil_userrange *userrange);
|
D | cil_internal.h | 1068 void cil_userrange_init(struct cil_userrange **userrange);
|
/third_party/selinux/secilc/test/ |
D | anonymous_arg_test.cil | 20 (userrange USER ((SENS)(SENS (CAT)))) 74 (userrange u lr)
|
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 | opt-expected.cil | 59 (userrange us01 ((s01) (s01)))
|
D | optional_test.cil | 18 (userrange USER ((SENS)(SENS (CAT))))
|
D | neverallow.cil | 17 (userrange USER ((SENS)(SENS (CAT))))
|
D | opt-input.cil | 64 (userrange us01 ((s01) (s01)))
|
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))))
|