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

本文介绍如何为 Ubuntu Touch v3.4 的内核更新 AppArmor 至 v3 版本,包括从活跃分支 cherry-pick 相关 commit 的步骤,并特别指出对于 Bluetooth stack 的回退移植需求。

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/

 

转载于:https://www.cnblogs.com/sn-dnv-aps/p/5595690.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值