Home
last modified time | relevance | path

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

/external/selinux/secilc/docs/
Dcil_user_statements.md222 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`](…
402userrange</code> identifier that has been associated to the <code>user</code> identifier. This may…
[all …]
DREADME.md141 * [userrange](cil_user_statements.md#userrange)
Dcil_mls_labeling_statements.md569 (userrange user (systemLow systemLow))
/external/selinux/python/audit2allow/
Dtest_dummy_policy.cil23 (userrange system_u ((s0)(s0 (c0))))
24 (userrange root ((s0)(s0 (c0))))
25 (userrange unconfined_u ((s0)(s0 (c0))))
/external/selinux/secilc/test/
Dpolicy.cil236 (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))
Dminimum.cil17 (userrange USER ((SENS)(SENS (CAT))))
Dintegration.cil151 (userrange system_u low_high)
155 (userrange user_u (low low))
Doptional_test.cil18 (userrange USER ((SENS)(SENS (CAT))))
Dneverallow.cil17 (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))))
Dbounds.cil17 (userrange USER ((SENS)(SENS (CAT))))
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c264 static inline void cil_reset_userrange(struct cil_userrange *userrange) in cil_reset_userrange() argument
266 if (userrange->range_str == NULL) { in cil_reset_userrange()
267 cil_reset_levelrange(userrange->range); in cil_reset_userrange()
Dcil_tree.c783 struct cil_userrange *userrange = node->data; in cil_tree_print_node() local
786 if (userrange->user_str != NULL) { in cil_tree_print_node()
787 cil_log(CIL_INFO, " %s", userrange->user_str); in cil_tree_print_node()
790 if (userrange->range != NULL) { in cil_tree_print_node()
792 cil_tree_print_levelrange(userrange->range); in cil_tree_print_node()
794 } else if (userrange->range_str != NULL) { in cil_tree_print_node()
795 cil_log(CIL_INFO, " %s", userrange->range_str); in cil_tree_print_node()
Dcil.c2506 void cil_userrange_init(struct cil_userrange **userrange) in cil_userrange_init() argument
2508 *userrange = cil_malloc(sizeof(**userrange)); in cil_userrange_init()
2510 (*userrange)->user_str = NULL; in cil_userrange_init()
2511 (*userrange)->range_str = NULL; in cil_userrange_init()
2512 (*userrange)->range = NULL; in cil_userrange_init()
Dcil_build_ast.c1458 struct cil_userrange *userrange = NULL; in cil_gen_userrange() local
1470 cil_userrange_init(&userrange); in cil_gen_userrange()
1472 userrange->user_str = parse_current->next->data; in cil_gen_userrange()
1475 userrange->range_str = parse_current->next->next->data; in cil_gen_userrange()
1477 cil_levelrange_init(&userrange->range); in cil_gen_userrange()
1479 rc = cil_fill_levelrange(parse_current->next->next->cl_head, userrange->range); in cil_gen_userrange()
1485 ast_node->data = userrange; in cil_gen_userrange()
1492 cil_destroy_userrange(userrange); in cil_gen_userrange()
1496 void cil_destroy_userrange(struct cil_userrange *userrange) in cil_destroy_userrange() argument
1498 if (userrange == NULL) { in cil_destroy_userrange()
[all …]
Dcil_resolve_ast.c904 struct cil_userrange *userrange = current->data; in cil_resolve_userrange() local
911 rc = cil_resolve_name(current, userrange->user_str, CIL_SYM_USERS, extra_args, &user_datum); in cil_resolve_userrange()
926 if (userrange->range_str != NULL) { in cil_resolve_userrange()
927 …rc = cil_resolve_name(current, userrange->range_str, CIL_SYM_LEVELRANGES, extra_args, &range_datum… in cil_resolve_userrange()
931 userrange->range = (struct cil_levelrange*)range_datum; in cil_resolve_userrange()
932 user->range = userrange->range; in cil_resolve_userrange()
941 } else if (userrange->range != NULL) { in cil_resolve_userrange()
942 rc = cil_resolve_levelrange(current, userrange->range, extra_args); in cil_resolve_userrange()
946 user->range = userrange->range; in cil_resolve_userrange()
Dcil_build_ast.h90 void cil_destroy_userrange(struct cil_userrange *userrange);
Dcil_internal.h1054 void cil_userrange_init(struct cil_userrange **userrange);