OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:policydbp
(Results
1 - 7
of
7
) sorted by null
/external/checkpolicy/
policy_define.c
54
policydb_t *
policydbp
;
variable
221
t = hashtab_search(
policydbp
->p_types.table, type);
266
if (ebitmap_set_bit(&
policydbp
->policycaps, capnum, TRUE)) {
303
head =
policydbp
->ocontexts[OCON_ISID];
318
policydbp
->ocontexts[OCON_ISID] = newc;
340
cladatum = hashtab_search(
policydbp
->p_classes.table, id);
370
cladatum = hashtab_search(
policydbp
->p_classes.table, id);
402
cladatum = hashtab_search(
policydbp
->p_classes.table, id);
434
cladatum = hashtab_search(
policydbp
->p_classes.table, id);
468
comdatum = hashtab_search(
policydbp
->p_commons.table, id)
[
all
...]
parse_util.c
32
extern policydb_t *
policydbp
;
50
policydbp
= p;
module_compiler.c
40
extern policydb_t *
policydbp
;
58
if (
policydbp
->policy_type != POLICY_MOD) {
73
policydbp
->name = id;
74
if ((
policydbp
->version =
82
if (
policydbp
->policy_type == POLICY_MOD) {
96
if (push_stack(1,
policydbp
->global,
policydbp
->global->branch_list) ==
100
last_block =
policydbp
->global;
137
retval = symtab_insert(
policydbp
, symbol_type, key, datum,
141
(symtab_datum_t *) hashtab_search(
policydbp
-
[
all
...]
checkpolicy.c
95
extern policydb_t *
policydbp
;
296
for (i = 0; i <
policydbp
->p_bools.nprim; i++) {
297
printf("%s : %d\n",
policydbp
->p_bool_val_to_name[i],
298
policydbp
->bool_val_to_struct[i]->state);
311
policydbp
->p_bool_val_to_name[cur->bool - 1]);
342
for (cur =
policydbp
->cond_list; cur != NULL; cur = cur->next) {
354
bool = hashtab_search(
policydbp
->p_bools.table, name);
360
evaluate_conds(
policydbp
);
537
policydbp
= &policydb;
540
if (
policydbp
->mls)
[
all
...]
policy_parse.y
56
extern policydb_t *
policydbp
;
160
{ if (pass == 1) { if (policydb_index_classes(
policydbp
)) return -1; }
161
else if (pass == 2) { if (policydb_index_others(NULL,
policydbp
, 0)) return -1; }}
163
{ if (pass == 1) { if (policydb_index_bools(
policydbp
)) return -1;}
164
else if (pass == 2) { if (policydb_index_others(NULL,
policydbp
, 0)) return -1;}}
820
if (policydb_index_others(NULL,
policydbp
, 0)) return -1;
/external/libsepol/include/sepol/policydb/
util.h
28
extern char *sepol_av_to_string(policydb_t *
policydbp
, uint32_t tclass,
/external/libsepol/src/
util.c
77
char *sepol_av_to_string(policydb_t *
policydbp
, uint32_t tclass,
88
cladatum =
policydbp
->class_val_to_struct[tclass - 1];
Completed in 111 milliseconds