Lines Matching defs:common
177 if (class->common != NULL) {
178 common_symtab = &class->common->perms;
757 struct cil_class *common = NULL;
768 cil_log(CIL_ERR, "Class %s is not a kernel class and cannot be associated with common %s\n", clscom->class_str, clscom->common_str);
779 common = (struct cil_class *)common_datum;
780 if (class->common != NULL) {
781 cil_log(CIL_ERR, "class cannot be associated with more than one common\n");
786 class->common = common;
788 cil_symtab_map(&class->perms, __class_update_perm_values, &common->num_perms);
790 class->num_perms += common->num_perms;
792 cil_tree_log(current, CIL_ERR, "Too many permissions in class '%s' when including common permissions", class->datum.name);