[apparmor] [PATCH] cleanup followpos

Kees Cook kees.cook at canonical.com
Wed Jul 7 19:39:03 BST 2010


On Wed, Jul 07, 2010 at 10:51:28AM -0700, John Johansen wrote:
> When creating the dfa the sets firstpos, lastpos, and followpos are computed for
> each expression tree node and then used as input to create the dfa states.
> 
> Currently they are not being freed until the nodes are destroyed, but the information
> is no longer needed once the dfa has been created.  Cleaning them up early reduces
> peak memory usage.

ACK


-- 
Kees Cook
Ubuntu Security Team



More information about the AppArmor mailing list