[apparmor] AppArmor Kernel-patch 3.6 in kernel 3.14 // for (p = profile->replacedby; p; )

John Johansen john.johansen at canonical.com
Tue Nov 24 22:43:22 UTC 2015


On 11/24/2015 09:07 AM, Jae Suk Park wrote:
> My Yocto system runs on kernel 3.14 and I wondered which version of patch-files I need to patch.
> I found  2.6.36~ 3.12 patches in "apparmor/kernel-patches/" directories.
> So I might need to patch from 3.0 through 3.12 for my Yocto system (3.14)
> I found pointer assignment seemed to be wrong in 3.6 patches, then I reported it to mailing list.
> 
> Here is my question, What should I patch for my Yocto(3.14 kernel)? 
> I tried to make accumulating-patch from kernel 3.0 through 3.12, merging all patches in "apparmor/kernel-patches" directory, but not sure I was doing right.
> 

So I need a little more information of what version of apparmor you want to base this on.

>From your original email it looks like you have taken apparmor from one of the dev trees, likely from what ubuntu is shipping. This is a VERY different version of apparmor and patches from the upstream kernel will not apply. In the reverse situation (upstream, cherry-picking from ubuntu/dev) you will run into a similar problem.

You will need to specify whether you want the upstream version, or the dev version (ubuntu) and then I can point you at what you will need to do




More information about the AppArmor mailing list