Home | History | Annotate | Download | only in src

Lines Matching defs:avrule

573 		log_err("Unknown avrule type: %i", type);
682 log_err("Unknown avrule xperm type: %i", type);
1160 static int avrule_list_to_cil(int indent, struct policydb *pdb, struct avrule *avrule_list, struct list *attr_list)
1163 struct avrule *avrule;
1169 for (avrule = avrule_list; avrule != NULL; avrule = avrule->next) {
1170 if ((avrule->specified & (AVRULE_NEVERALLOW|AVRULE_XPERMS_NEVERALLOW)) &&
1171 avrule->source_filename) {
1172 cil_println(0, ";;* lmx %lu %s\n",avrule->source_line, avrule->source_filename);
1175 ts = &avrule->stypes;
1181 ts = &avrule->ttypes;
1189 if (avrule->specified & AVRULE_XPERMS) {
1190 rc = avrulex_to_cil(indent, pdb, avrule->specified, snames[s], tnames[t], avrule->perms, avrule->xperms);
1192 rc = avrule_to_cil(indent, pdb, avrule->specified, snames[s], tnames[t], avrule->perms);
1199 if (avrule->flags & RULE_SELF) {
1200 if (avrule->specified & AVRULE_XPERMS) {
1201 rc = avrulex_to_cil(indent, pdb, avrule->specified, snames[s], "self", avrule->perms, avrule->xperms);
1203 rc = avrule_to_cil(indent, pdb, avrule->specified, snames[s], "self", avrule->perms);
1214 if ((avrule->specified & (AVRULE_NEVERALLOW|AVRULE_XPERMS_NEVERALLOW)) &&
1215 avrule->source_filename) {
3454 // required scope ebitmap of all avrule decls (i.e. required