Lines Matching defs:avrule
596 log_err("Unknown avrule type: %i", type);
705 log_err("Unknown avrule xperm type: %i", type);
1183 static int avrule_list_to_cil(int indent, struct policydb *pdb, struct avrule *avrule_list, struct list *attr_list)
1186 struct avrule *avrule;
1192 for (avrule = avrule_list; avrule != NULL; avrule = avrule->next) {
1193 if ((avrule->specified & (AVRULE_NEVERALLOW|AVRULE_XPERMS_NEVERALLOW)) &&
1194 avrule->source_filename) {
1195 cil_println(0, ";;* lmx %lu %s\n",avrule->source_line, avrule->source_filename);
1198 ts = &avrule->stypes;
1204 ts = &avrule->ttypes;
1212 if (avrule->specified & AVRULE_XPERMS) {
1213 rc = avrulex_to_cil(indent, pdb, avrule->specified, snames[s], tnames[t], avrule->perms, avrule->xperms);
1215 rc = avrule_to_cil(indent, pdb, avrule->specified, snames[s], tnames[t], avrule->perms);
1222 if (avrule->flags & RULE_SELF) {
1223 if (avrule->specified & AVRULE_XPERMS) {
1224 rc = avrulex_to_cil(indent, pdb, avrule->specified, snames[s], "self", avrule->perms, avrule->xperms);
1226 rc = avrule_to_cil(indent, pdb, avrule->specified, snames[s], "self", avrule->perms);
1237 if ((avrule->specified & (AVRULE_NEVERALLOW|AVRULE_XPERMS_NEVERALLOW)) &&
1238 avrule->source_filename) {
3525 // required scope ebitmap of all avrule decls (i.e. required