DivestOS/Scripts/LineageOS-14.1/CVE_Patchers/android_kernel_moto_shamu.sh

65 lines
4.1 KiB
Bash

#!/bin/bash
cd $base"kernel/moto/shamu"
git apply --whitespace=fix $cvePatches/CVE-2012-6703/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2014-8160/^3.18/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2014-9420/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2014-9683/^3.18/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2014-9715/^3.14/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2014-9781/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2015-1593/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2015-2041/^3.19/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2015-7515/^4.4/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2015-7550/^4.3/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2015-8955/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2015-8967/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-0758/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-1583/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2185/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2186/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2475/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2544/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2545/^4.4/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-2549/^4.4/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3070/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3136/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3137/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3138/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3140/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3689/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3857/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3865/ANY/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2016-3894/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5342/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-5870/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6672/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6695/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-7913/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8464/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8650/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-9604/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0404/^3.18/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0524/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0537/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0824/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-1000365/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-1000380/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-2618/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-2671/^4.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-5669/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6345/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6348/^4.9/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6951/^3.14/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7187/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7487/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8269/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
cd $base