OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nametypetrans
(Results
1 - 4
of
4
) sorted by null
/external/selinux/libsepol/cil/src/
cil_policy.c
631
int cil_nametypetransition_to_policy(FILE **file_arr, uint32_t file_index, struct cil_nametypetransition *
nametypetrans
)
633
char *src_str = ((struct cil_symtab_datum*)
nametypetrans
->src)->name;
634
char *tgt_str = ((struct cil_symtab_datum*)
nametypetrans
->tgt)->name;
635
char *obj_str = ((struct cil_symtab_datum*)
nametypetrans
->obj)->name;
636
char *result_str = ((struct cil_symtab_datum*)
nametypetrans
->result)->name;
638
fprintf(file_arr[file_index], "type_transition %s %s : %s %s %s;\n", src_str, tgt_str, obj_str, result_str,
nametypetrans
->name_str);
1024
struct cil_nametypetransition *
nametypetrans
= (struct cil_nametypetransition*)current->data;
local
1025
rc = cil_nametypetransition_to_policy(file_arr, ALLOWS,
nametypetrans
);
[
all
...]
cil_tree.c
983
struct cil_nametypetransition *
nametypetrans
= node->data;
local
986
if (
nametypetrans
->src != NULL) {
987
cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum *)
nametypetrans
->src)->name);
989
cil_log(CIL_INFO, " %s",
nametypetrans
->src_str);
992
if (
nametypetrans
->tgt != NULL) {
993
cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum *)
nametypetrans
->tgt)->name);
995
cil_log(CIL_INFO, " %s",
nametypetrans
->tgt_str);
998
if (
nametypetrans
->obj != NULL) {
999
cil_log(CIL_INFO, " %s",
nametypetrans
->obj->datum.name);
1001
cil_log(CIL_INFO, " %s",
nametypetrans
->obj_str)
[
all
...]
cil_build_ast.c
2979
struct cil_
nametypetrans
ition *
nametypetrans
= NULL;
local
[
all
...]
cil_resolve_ast.c
530
struct cil_nametypetransition *
nametypetrans
= current->data;
local
539
rc = cil_resolve_name(current,
nametypetrans
->src_str, CIL_SYM_TYPES, extra_args, &src_datum);
543
nametypetrans
->src = src_datum;
546
rc = cil_resolve_name(current,
nametypetrans
->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum);
550
nametypetrans
->tgt = tgt_datum;
553
rc = cil_resolve_name(current,
nametypetrans
->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum);
557
nametypetrans
->obj = (struct cil_class*)obj_datum;
559
nametypetrans
->name = __cil_insert_name(args->db,
nametypetrans
->name_str, current);
560
if (
nametypetrans
->name == NULL)
[
all
...]
Completed in 40 milliseconds