[apparmor] Compatibility patch for 3.6 kernel

John Johansen john.johansen at canonical.com
Sun Dec 16 07:49:59 UTC 2012


On 12/15/2012 11:46 PM, John Johansen wrote:
> On 12/15/2012 07:10 AM, Aaron Lewis wrote:
>> Hi,
>>
>> I couldn't use aa-genprof on 3.6 kernel, since I couldn't find the compatibility patch.
>>
>> Anyone know how to work out that issue?
>>
> The compatibility patches can be found in two places
> 
> in the bzr tree as patches in the kernel-patches directory
>   bzr co lp:apparmor/2.8
> 
> in the git kernel tree
>   git clone git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor in the v3.6-aa2.8 branch
> 
> 
> the patches are not in a release tar ball currently as the AA 2.8 tarball was rolled before the 3.6 kernel existed. They will however be part of the 2.8.1 release due in January.
> 
> 
You will also want to make sure you do NOT apply 0004-apparmor-Ensure-apparmor-does-not-mediate-kernel-bas.patch
or remove its equivalent from the git tree as there is a bug in it that
causes apparmor to hang. It is not needed and is there to ensure something
that should not happen doesn't.

It will get fixed before the 2.8.1 release but it is unlikely that it will
get fixed before the end of the year.





More information about the AppArmor mailing list