Home
last modified time | relevance | path

Searched refs:nprim (Results 1 – 6 of 6) sorted by relevance

/xen-4.10.0-shim-comet/xen/xsm/flask/ss/
A Dpolicydb.c181 role->value = ++p->p_roles.nprim; in roles_init()
287 || role->value > p->p_roles.nprim in role_index()
288 || role->bounds > p->p_roles.nprim ) in role_index()
324 || usrdatum->value > p->p_users.nprim in user_index()
441 p->p_users.nprim, p->p_roles.nprim, p->p_types.nprim, p->p_bools.nprim); in policydb_index_others()
443 printk(", %d sens, %d cats", p->p_levels.nprim, p->p_cats.nprim); in policydb_index_others()
777 if ( !role || role > p->p_roles.nprim ) in policydb_role_isvalid()
784 if ( !type || type > p->p_types.nprim ) in policydb_type_isvalid()
1879 nprim = le32_to_cpu(buf[0]); in policydb_read()
1888 p->symtab[i].nprim = nprim; in policydb_read()
[all …]
A Dsymtab.h16 u32 nprim; /* number of primary names in table */ member
A Dsymtab.c44 s->nprim = 0; in symtab_init()
A Dservices.c479 if ( !tclass || tclass > policydb.p_classes.nprim ) in context_struct_compute_av()
1174 u32 nprim, perm_val, pol_val; in validate_classes() local
1185 if ( i > p->p_classes.nprim ) in validate_classes()
1206 if ( class_val > p->p_classes.nprim ) in validate_classes()
1212 nprim = 1 << (perms->nprim - 1); in validate_classes()
1213 if ( perm_val > nprim ) in validate_classes()
1768 for ( i = 0; i < policydb.p_bools.nprim; i++ ) in security_find_bool()
1792 *len = policydb.p_bools.nprim; in security_get_bools()
1848 lenp = policydb.p_bools.nprim; in security_set_bools()
1898 len = policydb.p_bools.nprim; in security_get_bool_value()
[all …]
A Dmls.c176 if ( !l->sens || l->sens > p->p_levels.nprim ) in mls_level_isvalid()
185 if ( i > p->p_cats.nprim ) in mls_level_isvalid()
227 if ( !c->user || c->user > p->p_users.nprim ) in mls_context_isvalid()
A Dconditional.c186 xmalloc_array(struct cond_bool_datum*, p->p_bools.nprim); in cond_init_bool_indexes()
207 if ( !booldatum->value || booldatum->value > p->p_bools.nprim ) in cond_index_bool()
407 if ( expr->bool_val > p->p_bools.nprim ) in expr_isvalid()

Completed in 18 milliseconds