Lines Matching refs:avrule
1181 static int avrule_list_to_cil(int indent, struct policydb *pdb, struct avrule *avrule_list, struct … in avrule_list_to_cil()
1184 struct avrule *avrule; in avrule_list_to_cil() local
1190 for (avrule = avrule_list; avrule != NULL; avrule = avrule->next) { in avrule_list_to_cil()
1191 if ((avrule->specified & (AVRULE_NEVERALLOW|AVRULE_XPERMS_NEVERALLOW)) && in avrule_list_to_cil()
1192 avrule->source_filename) { in avrule_list_to_cil()
1193 cil_println(0, ";;* lmx %lu %s\n",avrule->source_line, avrule->source_filename); in avrule_list_to_cil()
1196 ts = &avrule->stypes; in avrule_list_to_cil()
1202 ts = &avrule->ttypes; in avrule_list_to_cil()
1210 if (avrule->specified & AVRULE_XPERMS) { in avrule_list_to_cil()
1211 …rc = avrulex_to_cil(indent, pdb, avrule->specified, snames[s], tnames[t], avrule->perms, avrule->x… in avrule_list_to_cil()
1213 rc = avrule_to_cil(indent, pdb, avrule->specified, snames[s], tnames[t], avrule->perms); in avrule_list_to_cil()
1220 if (avrule->flags & RULE_SELF) { in avrule_list_to_cil()
1221 if (avrule->specified & AVRULE_XPERMS) { in avrule_list_to_cil()
1222 …rc = avrulex_to_cil(indent, pdb, avrule->specified, snames[s], "self", avrule->perms, avrule->xper… in avrule_list_to_cil()
1224 rc = avrule_to_cil(indent, pdb, avrule->specified, snames[s], "self", avrule->perms); in avrule_list_to_cil()
1235 if ((avrule->specified & (AVRULE_NEVERALLOW|AVRULE_XPERMS_NEVERALLOW)) && in avrule_list_to_cil()
1236 avrule->source_filename) { in avrule_list_to_cil()