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:__anon23821
/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
834
if (!comdatum->s.value || comdatum->s.value > p->p_commons.
nprim
)
848
if (!cladatum->s.value || cladatum->s.value > p->p_classes.
nprim
)
863
if (!role->s.value || role->s.value > p->p_roles.
nprim
)
880
if (!typdatum->s.value || typdatum->s.value > p->p_types.
nprim
)
897
if (!usrdatum->s.value || usrdatum->s.value > p->p_users.
nprim
)
916
levdatum->level->sens > p->p_levels.
nprim
)
933
if (!catdatum->s.value || catdatum->s.value > p->p_cats.
nprim
)
955
malloc(p->p_commons.
nprim
* sizeof(char *));
964
malloc(p->p_classes.
nprim
* sizeof(class_datum_t *));
970
malloc(p->p_classes.
nprim
* sizeof(char *))
3407
uint32_t buf[2],
nprim
, nel;
local
3602
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;
315
new_class->s.value = ++(state->base->p_classes.
nprim
);
392
new_role->s.value = state->base->p_roles.
nprim
+ 1;
400
state->base->p_roles.
nprim
++;
419
state->dest_decl->p_roles.
nprim
++;
490
new_type->s.value = state->base->p_types.
nprim
+ 1;
498
state->base->p_types.
nprim
++;
518
state->dest_decl->p_types.
nprim
++;
558
new_user->s.value = state->base->p_users.
nprim
+ 1
[
all
...]
expand.c
191
new_type->s.value = ++state->out->p_types.
nprim
;
288
s->
nprim
++;
337
state->out->p_commons.
nprim
++;
519
state->out->p_classes.
nprim
++;
566
new_class->permissions.
nprim
+=
567
new_class->comdatum->permissions.
nprim
;
915
state->out->p_roles.
nprim
++;
917
new_role->s.value = state->out->p_roles.
nprim
;
1060
state->out->p_users.
nprim
++;
1061
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
113
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
);
940
buf[items++] = cpu_to_le32(cladatum->permissions.
nprim
);
[
all
...]
services.c
835
if (!tclass || tclass > policydb->p_classes.
nprim
) {
949
if (!tclass || tclass > policydb->p_classes.
nprim
) {
1106
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
490
comdatum->s.value = policydbp->p_commons.
nprim
+ 1;
495
policydbp->p_commons.
nprim
++;
503
perdatum->s.value = comdatum->permissions.
nprim
+ 1;
523
comdatum->permissions.
nprim
++;
570
if (cladatum->comdatum || cladatum->permissions.
nprim
) {
601
cladatum->permissions.
nprim
+= comdatum->permissions.
nprim
;
610
perdatum->s.value = ++cladatum->permissions.
nprim
;
833
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 550 milliseconds