Searched refs:range (Results 1 – 10 of 10) sorted by relevance
/security/selinux/ss/ |
D | context.h | 31 struct mls_range range; member 37 memset(&c->range, 0, sizeof(c->range)); in mls_context_init() 44 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy() 45 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 49 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy() 50 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy() 52 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy() 64 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low() 65 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low() 69 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low() [all …]
|
D | mls.c | 47 int index_sens = context->range.level[l].sens; in mls_compute_context_len() 53 e = &context->range.level[l].cat; in mls_compute_context_len() 72 if (mls_level_eq(&context->range.level[0], in mls_compute_context_len() 73 &context->range.level[1])) in mls_compute_context_len() 106 context->range.level[l].sens - 1)); in mls_sid_to_context() 112 e = &context->range.level[l].cat; in mls_sid_to_context() 148 if (mls_level_eq(&context->range.level[0], in mls_sid_to_context() 149 &context->range.level[1])) in mls_sid_to_context() 206 if (!mls_range_isvalid(p, &c->range)) in mls_context_isvalid() 218 if (!mls_range_contains(usrdatum->range, c->range)) in mls_context_isvalid() [all …]
|
D | services.c | 337 l1 = &(scontext->range.level[0]); in constraint_expr_eval() 338 l2 = &(tcontext->range.level[0]); in constraint_expr_eval() 341 l1 = &(scontext->range.level[0]); in constraint_expr_eval() 342 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 345 l1 = &(scontext->range.level[1]); in constraint_expr_eval() 346 l2 = &(tcontext->range.level[0]); in constraint_expr_eval() 349 l1 = &(scontext->range.level[1]); in constraint_expr_eval() 350 l2 = &(tcontext->range.level[1]); in constraint_expr_eval() 353 l1 = &(scontext->range.level[0]); in constraint_expr_eval() 354 l2 = &(scontext->range.level[1]); in constraint_expr_eval() [all …]
|
D | mls.h | 42 int mls_range_set(struct context *context, struct mls_range *range);
|
D | policydb.h | 125 struct mls_range range; /* MLS range (min - max) for user */ member
|
D | policydb.c | 710 ebitmap_destroy(&usrdatum->range.level[0].cat); in user_destroy() 711 ebitmap_destroy(&usrdatum->range.level[1].cat); in user_destroy() 1064 rc = mls_read_range_helper(&c->range, fp); in context_read_and_validate() 1587 rc = mls_read_range_helper(&usrdatum->range, fp); in user_read() 2747 rc = mls_write_range_helper(&c->range, fp); in context_write() 3075 rc = mls_write_range_helper(&usrdatum->range, fp); in user_write()
|
/security/tomoyo/ |
D | Kconfig | 18 range 0 2147483647 31 range 0 2147483647
|
/security/selinux/ |
D | Kconfig | 28 range 0 1 80 range 0 1 118 range 15 23
|
/security/apparmor/ |
D | Kconfig | 20 range 0 1
|
/security/integrity/ima/ |
D | Kconfig | 34 range 8 14
|