OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nprim
(Results
1 - 20
of
20
) sorted by null
/external/libsepol/include/sepol/policydb/
symtab.h
31
uint32_t
nprim
; /* number of primary names in table */
member in struct:__anon9652
/external/libsepol/src/
symtab.c
45
s->
nprim
= 0;
roles.c
29
unsigned int tmp_nroles = policydb->p_roles.
nprim
;
users.c
232
(policydb->p_users.
nprim
+
239
(policydb->p_users.
nprim
+
251
usrdatum->s.value = ++policydb->p_users.
nprim
;
309
*response = policydb->p_users.
nprim
;
352
unsigned int nusers = policydb->p_users.
nprim
;
booleans.c
111
*response = policydb->p_bools.
nprim
;
185
unsigned int nbools = policydb->p_bools.
nprim
;
util.c
90
for (i = 0; i < cladatum->permissions.
nprim
; i++) {
context.c
44
if (!c->role || c->role > p->p_roles.
nprim
)
47
if (!c->user || c->user > p->p_users.
nprim
)
50
if (!c->type || c->type > p->p_types.
nprim
)
policydb.c
771
if (!comdatum->s.value || comdatum->s.value > p->p_commons.
nprim
)
785
if (!cladatum->s.value || cladatum->s.value > p->p_classes.
nprim
)
800
if (!role->s.value || role->s.value > p->p_roles.
nprim
)
817
if (!typdatum->s.value || typdatum->s.value > p->p_types.
nprim
)
834
if (!usrdatum->s.value || usrdatum->s.value > p->p_users.
nprim
)
853
levdatum->level->sens > p->p_levels.
nprim
)
870
if (!catdatum->s.value || catdatum->s.value > p->p_cats.
nprim
)
892
malloc(p->p_commons.
nprim
* sizeof(char *));
901
malloc(p->p_classes.
nprim
* sizeof(class_datum_t *));
907
malloc(p->p_classes.
nprim
* sizeof(char *))
3318
uint32_t buf[2],
nprim
, nel;
local
3509
size_t len,
nprim
, nel;
local
[
all
...]
link.c
97
for (i = 0; mod->perm_map != NULL && i < mod->policy->p_classes.
nprim
;
170
new_perm->s.value = dest_class->permissions.
nprim
+ 1;
278
new_class->s.value = ++(state->base->p_classes.
nprim
);
350
new_role->s.value = state->base->p_roles.
nprim
+ 1;
358
state->base->p_roles.
nprim
++;
377
state->dest_decl->p_roles.
nprim
++;
448
new_type->s.value = state->base->p_types.
nprim
+ 1;
456
state->base->p_types.
nprim
++;
476
state->dest_decl->p_types.
nprim
++;
516
new_user->s.value = state->base->p_users.
nprim
+ 1
[
all
...]
expand.c
115
new_type->s.value = ++state->out->p_types.
nprim
;
212
s->
nprim
++;
259
state->out->p_commons.
nprim
++;
394
state->out->p_classes.
nprim
++;
435
new_class->permissions.
nprim
+=
436
new_class->comdatum->permissions.
nprim
;
778
state->out->p_roles.
nprim
++;
780
new_role->s.value = state->out->p_roles.
nprim
;
919
state->out->p_users.
nprim
++;
920
new_user->s.value = state->out->p_users.
nprim
;
[
all
...]
mls.c
280
|| c->range.level[l].sens > p->p_levels.
nprim
)
292
if (i > p->p_cats.
nprim
)
310
if (!c->user || c->user > p->p_users.
nprim
)
genusers.c
105
usrdatum->s.value = ++policydb->p_users.
nprim
;
conditional.c
528
malloc(p->p_bools.
nprim
* sizeof(cond_bool_datum_t *));
551
if (!booldatum->s.value || booldatum->s.value > p->p_bools.
nprim
)
755
if (expr->bool > p->p_bools.
nprim
) {
write.c
845
buf[items++] = cpu_to_le32(comdatum->permissions.
nprim
);
937
buf[items++] = cpu_to_le32(cladatum->permissions.
nprim
);
[
all
...]
services.c
322
if (!tclass || tclass > policydb->p_classes.
nprim
) {
436
if (!tclass || tclass > policydb->p_classes.
nprim
) {
[
all
...]
/external/checkpolicy/
checkpolicy.c
234
type_rules = malloc(sizeof(struct avtab_node) * policydb.p_types.
nprim
);
240
sizeof(struct avtab_node) * policydb.p_types.
nprim
);
247
for (i = 0; i < policydb.p_types.
nprim
- 1; i++) {
250
for (j = i + 1; j < policydb.p_types.
nprim
; j++) {
296
for (i = 0; i < policydbp->p_bools.
nprim
; i++) {
670
|| tclass > policydb.p_classes.
nprim
) {
690
if (!cladatum->comdatum && !cladatum->permissions.
nprim
) {
786
|| tclass > policydb.p_classes.
nprim
) {
981
|| tclass > policydb.p_classes.
nprim
) {
policy_define.c
394
comdatum->s.value = policydbp->p_commons.
nprim
+ 1;
399
policydbp->p_commons.
nprim
++;
407
perdatum->s.value = comdatum->permissions.
nprim
+ 1;
427
comdatum->permissions.
nprim
++;
474
if (cladatum->comdatum || cladatum->permissions.
nprim
) {
505
cladatum->permissions.
nprim
+= comdatum->permissions.
nprim
;
514
perdatum->s.value = ++cladatum->permissions.
nprim
;
737
if (order != policydbp->p_levels.
nprim
) {
[
all
...]
module_compiler.c
848
perm->s.value = datum->permissions.
nprim
+ 1;
858
datum->permissions.
nprim
++;
[
all
...]
/external/checkpolicy/test/
dismod.c
345
for (i = 0; i < p->p_users.
nprim
; i++) {
364
for (i = 0; i < p->p_bools.
nprim
; i++) {
dispol.c
189
for (i = 0; i < p->p_bools.
nprim
; i++) {
Completed in 1595 milliseconds