#!/bin/bash cd $base"kernel/lge/msm8996" git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0019.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0020.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0022.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0023.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0025.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0026.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0027.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0028.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0029.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0030.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0031.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0032.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0033.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0034.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0035.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0036.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0037.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0040.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0041.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0042.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0043.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0045.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0046.patch git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/3.18/0050.patch git apply $cvePatchesLinux/0010-Accelerated_AES/3.10+/0012.patch git apply $cvePatchesLinux/0012-Copperhead-Deny_USB/3.18/0002-Alt2.patch git apply $cvePatchesLinux/CVE-2014-9900/ANY/0001.patch git apply $cvePatchesLinux/CVE-2015-2041/^3.19/0002.patch git apply $cvePatchesLinux/CVE-2015-7515/^4.4/0002.patch git apply $cvePatchesLinux/CVE-2016-2188/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-2188/ANY/0002.patch git apply $cvePatchesLinux/CVE-2016-2549/^4.4/0001.patch git apply $cvePatchesLinux/CVE-2016-3136/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-3137/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-3138/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-3140/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-3857/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-2016-8394/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0007.patch git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0008.patch git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0009.patch git apply $cvePatchesLinux/CVE-2016-GadgetFS/ANY/0010.patch git apply $cvePatchesLinux/CVE-2017-0610/ANY/0002.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-11031/3.18/0001.patch git apply $cvePatchesLinux/CVE-2017-11045/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-13162/3.18/0001.patch git apply $cvePatchesLinux/CVE-2017-13245/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-13246/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-15842/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-15843/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-15846/ANY/0002.patch git apply $cvePatchesLinux/CVE-2017-16650/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-16USB/ANY/0009.patch git apply $cvePatchesLinux/CVE-2017-18066/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-5669/^4.9/0001.patch git apply $cvePatchesLinux/CVE-2017-5972/ANY/0002.patch git apply $cvePatchesLinux/CVE-2017-6001/^4.9/0002.patch git apply $cvePatchesLinux/CVE-2017-6348/^4.9/0001.patch git apply $cvePatchesLinux/CVE-2018-3560/ANY/0001.patch git apply $cvePatchesLinux/CVE-2018-3563/3.18/0002.patch git apply $cvePatchesLinux/CVE-2018-3599/ANY/0001.patch git apply $cvePatchesLinux/CVE-2018-5825/3.18/0002.patch git apply $cvePatchesLinux/CVE-2018-5848/ANY/0001.patch git apply $cvePatchesLinux/CVE-2018-5849/ANY/0001.patch git apply $cvePatchesLinux/LVT-2017-0001/3.18/0004.patch git apply $cvePatchesLinux/LVT-2017-0002/3.18/0003.patch git apply $cvePatchesLinux/CVE-2016-6693/ANY/0001.patch git apply $cvePatchesLinux/CVE-2016-6696/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0610/ANY/0001.patch git apply $cvePatchesLinux/CVE-2017-0750/ANY/0001.patch editKernelLocalversion "-dos.p76" cd $base