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

74 lines
4.7 KiB
Bash

#!/bin/bash
cd $base"kernel/htc/msm8994"
git apply --whitespace=fix $cvePatches/CVE-2016-6693/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-6696/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8401/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8404/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8413/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8417/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8444/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8450/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8477/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8480/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-8481/ANY/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-2016-9754/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-9793/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2016-9794/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0404/^3.18/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0427/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0445/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0452/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0457/3.10/0002.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0516/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0520/ANY/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-0576/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0604/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0606/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0607/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0610/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0611/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0620/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0621/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0627/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0631/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0648/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0710/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0746/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0748/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0750/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0751/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-0794/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-10999/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11024/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11046/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11048/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11056/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-11059/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-15265/^4.14/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-5970/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-6074/ANY/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-7308/ANY/0003.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7369/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-7472/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8246/3.10/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8261/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8265/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-8280/ANY/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9242/^4.11/0001.patch
git apply --whitespace=fix $cvePatches/CVE-2017-9706/ANY/0001.patch
git apply --whitespace=fix $cvePatches/LVT-2017-0003/3.10/0001.patch
cd $base