diff --git a/parser/libapparmor_re/regexp.y b/parser/libapparmor_re/regexp.y index efbd51342..b386cfc28 100644 --- a/parser/libapparmor_re/regexp.y +++ b/parser/libapparmor_re/regexp.y @@ -1811,7 +1811,8 @@ void DFA::minimize(dfaflags_t flags) /* Remap the dfa so it uses the representative states * Use the first state of a partition as the representative state * At this point all states with in a partion have transitions - * to states within the same partitions + * to states within the same partitions, however this can slow + * down compressed dfa compression as there are more states, */ for (list ::iterator p = partitions.begin(); p != partitions.end(); p++) { diff --git a/parser/parser_main.c b/parser/parser_main.c index 6e3f35533..29c3bf9bf 100644 --- a/parser/parser_main.c +++ b/parser/parser_main.c @@ -69,7 +69,7 @@ int binary_input = 0; int names_only = 0; int dump_vars = 0; int dump_expanded_vars = 0; -dfaflags_t dfaflags = DFA_CONTROL_TREE_NORMAL | DFA_CONTROL_TREE_SIMPLE | DFA_CONTROL_MINIMIZE | DFA_CONTROL_MINIMIZE_HASH_TRANS | DFA_CONTROL_MINIMIZE_HASH_PERMS; +dfaflags_t dfaflags = DFA_CONTROL_TREE_NORMAL | DFA_CONTROL_TREE_SIMPLE | DFA_CONTROL_MINIMIZE | DFA_CONTROL_MINIMIZE_HASH_TRANS; int conf_verbose = 0; int conf_quiet = 0; int kernel_load = 1;