[apparmor] [Patch] [2.8] Fix caching failure due to features cache being larger than read buffer

Steve Beattie steve at nxnw.org
Wed Mar 13 04:11:47 UTC 2013


On Tue, Mar 12, 2013 at 05:32:54PM -0700, John Johansen wrote:
> This is a minimal fix to apparmor 2.8 for cache failures when the feature
> file is larger than the feature buffer used for cache version comparison.
> 
> Ideally this would be dynamically allocated but for 2.8 just bumping the
> buffer size is the quick fix.
> 
> Signed-off-by: John Johansen <john.johansen at canonical.com>

Acked-by: Steve Beattie <sbeattie at ubuntu.com>

Is 4096 a reasonable size, or is possible that the feature buffer could
need to be larger than that/

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


More information about the AppArmor mailing list