[apparmor] [PATCH] Fix expr tree node labeling

John Johansen john.johansen at canonical.com
Wed Jul 7 18:58:23 BST 2010


expression tree node labeling is used during debugging dumps.  Currently the node labels
are computed and stored in a map, that is not cleaned up.  This means that the labeling
is retained across different dfas.

Move the labeling into expr node as this takes less memory than using a map and will
also separates node labeling so its per dfa instead of global.  In addition this means
the labeling is cleanedup/freed when the expr tree is freed without any extra work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-node-labeling.patch
Type: text/x-diff
Size: 1705 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/apparmor/attachments/20100707/69321518/attachment.patch 


More information about the AppArmor mailing list