码迷,mamicode.com
首页 > 移动开发 > 详细

[PATCH] UBUNTU: SAUCE: (no-up) apparmor: Sync to apparmor3 - RC1(v3.4.x kernel)

时间:2016-06-18 10:06:13      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

ubuntu touch v3.4 kernel AppArmor v3 backport patch

地址1:https://github.com/multirom-aries/ubuntu-phone_kernel_lge_msm8226/commit/447767477f591302462214f79685cffcf004a862.patch

地址2:http://code.bulix.org/ohsl7o-101756

 

 

Well, as Ubuntu 14.10 (Utopic) has become unsupported, that repository is probably not maintained anymore. I recommend cloning current branch, either 15.04 (Vivid)[1] (actually unsupported now, but still maintained because it‘s the base for current phone image) or 16.04 (Xenial)[2] repo.

To port AppArmor for your kernel tree, look for the branches for phone image, preferably for similar Linux version or phone chipset/model, and then cherry-pick the commit saying "Sync to apparmor 3 - RC1 snapshot".

You‘ll also have to cherry-pick the commit that says "binder: search for receiving context pid in global namespace", as it‘s required for trust-store system.

Note that if your phone‘s kernel is v3.4 or lower (maybe also some higher version, but I‘m not so sure), you‘ll have to backport Bluetooth stack from newer kernel too. See commit about that in those branches for information.

[1] http://kernel.ubuntu.com/git/ubuntu/ubuntu-vivid.git/
[2] http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/

 

[PATCH] UBUNTU: SAUCE: (no-up) apparmor: Sync to apparmor3 - RC1(v3.4.x kernel)

标签:

原文地址:http://www.cnblogs.com/sn-dnv-aps/p/5595690.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!