[apparmor] [PATCH 11/11] Move dfa minimization and remove unreachable outside of dfa creation

John Johansen john.johansen at canonical.com
Tue Nov 9 00:27:11 GMT 2010


On 11/08/2010 03:49 PM, Steve Beattie wrote:
> On Mon, Oct 18, 2010 at 05:20:43PM -0700, John Johansen wrote:
>> As from a library pov they should be seperately callable fns, and this will
>> help reduce peak memory usage in some cases.
>>
>> Also disbale remove_unreachable, as the current dfa code isn't generating
>> unreachable states, and minimization removes any states that are connected
>> but redundant.
> 
> ACK. A debugging flag that verifies that post-minimization that there
> are no unreachable or redundant states post-minimization might be useful
> for catching bugs.
> 
Hrmmm, So are you asking for something more than just toggling the
-O remove-unreachable

which outputs if it removed states?



More information about the AppArmor mailing list