2017-10-29 21:26:04 -04:00
|
|
|
#!/bin/bash
|
2017-12-08 19:29:47 -05:00
|
|
|
cd $base"kernel/nextbit/msm8992"
|
2018-04-13 15:29:21 -04:00
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0004-No_dir-relax.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0005.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0006.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0007.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0008.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0009.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0010.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0011.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0012.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0013.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0014.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0015.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0016.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0017.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.10/0018.patch
|
|
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/ANY/0001.patch
|
2017-12-08 18:59:55 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2014-9904/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2016-6672/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-0648/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-0861/3.10/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-0862/3.10/0001.patch
|
2018-01-30 02:18:38 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-1000410/ANY/0001.patch
|
2018-01-03 12:15:58 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-11473/ANY/0001.patch
|
2017-12-08 18:59:55 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-11600/3.10/0001.patch
|
2017-12-30 07:11:23 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-13163/3.10/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-13168/3.10/0001.patch
|
2018-01-10 02:20:35 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-13216/3.10/0001.patch
|
2018-01-04 19:52:32 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0002.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0003.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-13218/3.10/0004.patch
|
2018-02-19 15:01:57 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-13245/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch
|
2017-12-08 18:59:55 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-16526/^4.13/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16531/^4.13/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16532/^4.13/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16533/^4.13/0001.patch
|
2018-04-22 02:41:18 -04:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-16534/ANY/0001.patch
|
2017-12-08 18:59:55 -05:00
|
|
|
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-16538/^4.13/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16538/^4.13/0002.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16643/3.5+/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16645/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16650/ANY/0001.patch
|
2018-01-04 13:17:29 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-16939/3.10/0001.patch
|
2017-12-08 18:59:55 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0003.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-16USB/ANY/0006.patch
|
2018-01-30 02:18:38 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-17558/ANY/0001.patch
|
2018-02-19 15:01:57 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-17762/ANY/0001.patch
|
2017-12-08 18:59:55 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-6345/^4.9/0001.patch
|
2017-12-30 07:11:23 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-7533/3.10/0002.patch
|
2018-03-07 00:07:45 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-7533/3.10/0003.patch
|
2017-12-30 07:11:23 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-8243/3.10/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-8281/3.10/0003.patch
|
2018-02-05 19:21:44 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2017-9723/ANY/0001.patch
|
2018-04-22 02:41:18 -04:00
|
|
|
git apply $cvePatchesLinux/CVE-2018-3563/3.10/0001.patch
|
2018-04-03 06:10:03 -04:00
|
|
|
git apply $cvePatchesLinux/CVE-2018-5825/3.10/0001.patch
|
2017-12-08 18:59:55 -05:00
|
|
|
git apply $cvePatchesLinux/LVT-2017-0003/3.10/0001.patch
|
2018-01-10 15:49:48 -05:00
|
|
|
git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch
|
|
|
|
git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch
|
2018-04-22 02:41:18 -04:00
|
|
|
editKernelLocalversion "-dos.p67"
|
2017-10-29 21:26:04 -04:00
|
|
|
cd $base
|