[apparmor] [PATCH] Fix transition table resize padding

Steve Beattie steve at nxnw.org
Sat Jul 24 15:16:11 BST 2010


On Mon, Jul 12, 2010 at 09:54:08PM -0700, John Johansen wrote:
> 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

ACKed for 2.5.1. Thanks!

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/apparmor/attachments/20100724/850acd89/attachment.pgp 


More information about the AppArmor mailing list