[apparmor] [PATCH] Fix transition table resize padding

John Johansen john.johansen at canonical.com
Tue Jul 13 05:54:08 BST 2010


On 07/12/2010 02:16 PM, John Johansen wrote:
> This is the sser space fix for launchpad.net/busgs/599450
> 
> It changes the table resizing so that there is always sufficient
> high entries in the table, preventing bounds violations from
> occurring.
> 
> Previously the resize allocation was always based on the character
> set range for a state, which could be more or less than actually
> required, and packing would waste some space when over allocation
> was done.
> 
> As a result this patch in general results in slightly smaller
> transition tables even though it enforcing the minimum required
> padding to avoid bounds violations.
> 
Nominated for 2.5.1

 




More information about the AppArmor mailing list