From 7309925872d984b57d6b828a63dabee79e63d239 Mon Sep 17 00:00:00 2001 From: Tad Date: Tue, 27 Mar 2018 19:58:30 -0400 Subject: [PATCH] 15.1: Add broken support for mako --- Manifests/Manifest_LAOS-14.1.xml | 2 +- Manifests/Manifest_LAOS-15.1.xml | 6 ++++- .../CVE_Patchers/android_kernel_lge_mako.sh | 24 +++++++++++++++++++ Scripts/LineageOS-15.1/Functions.sh | 3 ++- 4 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_mako.sh diff --git a/Manifests/Manifest_LAOS-14.1.xml b/Manifests/Manifest_LAOS-14.1.xml index 31f118a0..951a710c 100644 --- a/Manifests/Manifest_LAOS-14.1.xml +++ b/Manifests/Manifest_LAOS-14.1.xml @@ -110,7 +110,7 @@ - + diff --git a/Manifests/Manifest_LAOS-15.1.xml b/Manifests/Manifest_LAOS-15.1.xml index 8fd489e2..0b07aff8 100644 --- a/Manifests/Manifest_LAOS-15.1.xml +++ b/Manifests/Manifest_LAOS-15.1.xml @@ -144,11 +144,15 @@ + + + + - + diff --git a/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_mako.sh b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_mako.sh new file mode 100644 index 00000000..f1198aa9 --- /dev/null +++ b/Scripts/LineageOS-15.1/CVE_Patchers/android_kernel_lge_mako.sh @@ -0,0 +1,24 @@ +#!/bin/bash +cd $base"kernel/lge/mako" +git apply $cvePatchesLinux/0010-Accelerated_AES/3.4/0002.patch +git apply $cvePatchesLinux/CVE-2016-3894/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2016-6828/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2016-7910/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-1000111/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-16525/^4.13/0002.patch +git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16535/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16537/^4.13/0001.patch +git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch +git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0005.patch +git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch +git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch +git apply $cvePatchesLinux/Untracked/ANY/0008-nfsd-check-for-oversized-NFSv2-v3-arguments.patch +git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch +editKernelLocalversion "-dos.p20" +cd $base diff --git a/Scripts/LineageOS-15.1/Functions.sh b/Scripts/LineageOS-15.1/Functions.sh index 4b1ef295..86e9372d 100644 --- a/Scripts/LineageOS-15.1/Functions.sh +++ b/Scripts/LineageOS-15.1/Functions.sh @@ -22,7 +22,7 @@ startPatcher() { export -f startPatcher; patchAllKernels() { - startPatcher "kernel_fairphone_msm8974 kernel_google_marlin kernel_google_msm kernel_htc_flounder kernel_huawei_angler kernel_lge_bullhead kernel_lge_g3 kernel_lge_hammerhead kernel_lge_msm8974 kernel_moto_shamu kernel_nextbit_msm8992 kernel_oppo_msm8974 kernel_samsung_msm8974"; + startPatcher "kernel_fairphone_msm8974 kernel_google_marlin kernel_google_msm kernel_htc_flounder kernel_huawei_angler kernel_lge_bullhead kernel_lge_g3 kernel_lge_hammerhead kernel_lge_mako kernel_lge_msm8974 kernel_moto_shamu kernel_nextbit_msm8992 kernel_oppo_msm8974 kernel_samsung_msm8974"; } export -f patchAllKernels; @@ -60,6 +60,7 @@ buildAll() { #TODO: Add victara, griffin, athene, us997, us996, pme, t0lte, hlte brunch lineage_d852-userdebug; brunch lineage_bacon-user; + #brunch lineage_mako-user; brunch lineage_angler-user; brunch lineage_bullhead-user; brunch lineage_d802-userdebug;