Home | History | Annotate | Download | only in src

Lines Matching full:flavor

460 		switch (curr->flavor) {
498 cil_log(CIL_ERR, "Unknown flavor in expression\n");
510 if (curr->flavor == CIL_CLASSPERMS) {
512 if (FLAVOR(cp->class) == CIL_CLASS) {
533 void cil_constrain_to_policy(FILE **file_arr, __attribute__((unused)) uint32_t file_index, struct cil_constrain *cons, enum cil_flavor flavor)
537 if (flavor == CIL_CONSTRAIN) {
539 } else if (flavor == CIL_MLSCONSTRAIN) {
551 if (i->flavor == CIL_CLASSPERMS) {
553 if (FLAVOR(cp->class) == CIL_CLASS) {
655 switch (curr->flavor) {
795 cil_log(CIL_ERR, "Unknown flavor in expression\n");
841 switch (node->flavor) {
878 if (node->parent->flavor == CIL_FALSE) {
906 if (node->cl_head != NULL && node->cl_head->flavor == CIL_CONDBLOCK) {
908 if (cb->flavor == CIL_CONDTRUE) {
910 } else if (cb->flavor == CIL_CONDFALSE) {
915 if (node->cl_head != NULL && node->cl_head->next != NULL && node->cl_head->next->flavor == CIL_CONDBLOCK) {
917 if (cb->flavor == CIL_CONDTRUE) {
919 } else if (cb->flavor == CIL_CONDFALSE) {
949 uint32_t flavor = current->flavor;
952 switch(flavor) {
994 if (current->flavor == CIL_PERM) {
997 cil_log(CIL_INFO, "Improper data type found in common permissions: %d\n", current->flavor);
1063 cil_constrain_to_policy(file_arr, CONSTRAINS, (struct cil_constrain*)current->data, flavor);
1066 cil_constrain_to_policy(file_arr, CONSTRAINS, (struct cil_constrain*)current->data, flavor);
1126 if (node->flavor == CIL_MACRO) {
1131 if (node->flavor == CIL_BOOLEANIF) {
1141 if (node->flavor == CIL_BLOCK && ((struct cil_block*)node->data)->is_abstract == CIL_TRUE) {
1146 if (node->flavor != CIL_ROOT) {
1149 cil_log(CIL_ERR, "Error converting node to policy %d\n", node->flavor);
1154 switch (node->flavor) {