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

Seth Arnold seth.arnold at canonical.com
Tue Nov 24 20:09:46 UTC 2015


On Wed, Nov 25, 2015 at 02:07:00AM +0900, Jae Suk Park wrote:
> 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.

These patches aren't cumulative, they're targeted to the specific version
in the directory name. (They're also probably old enough that it might be
worth removing them.)

> 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.

Probably easiest would be to start from the Ubuntu 3.13 kernel tree:

http://kernel.ubuntu.com/git/ubuntu/ubuntu-trusty.git/tree/

I think it might be easiest to take the entire security/apparmor/
directory unchanged; when things break, look also in the 3.16 tree for
advice and inspiration:

http://kernel.ubuntu.com/git/ubuntu/ubuntu-utopic.git/

I hope this helps.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20151124/df65ab0f/attachment.pgp>


More information about the AppArmor mailing list