mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-19 21:04:26 -05:00
f041047983
This is an extremely powerful security feature with minimal downsides. Original credit goes to Grsecurity Android port goes to Copperhead
30 lines
1.6 KiB
Bash
30 lines
1.6 KiB
Bash
#!/bin/bash
|
|
cd $base"kernel/lge/msm8974"
|
|
git apply $cvePatchesLinux/0007-Copperhead-Kernel_Hardening/ANY/0001.patch
|
|
git apply $cvePatchesLinux/0012-Copperhead-Deny_USB/3.4/3.4-Backport.patch
|
|
git apply $cvePatchesLinux/CVE-2015-8939/ANY/0001.patch
|
|
git apply $cvePatchesLinux/CVE-2016-0806/prima/0001.patch
|
|
git apply $cvePatchesLinux/CVE-2016-0806/prima/0006.patch
|
|
git apply $cvePatchesLinux/CVE-2016-0806/prima/0007.patch
|
|
git apply $cvePatchesLinux/CVE-2016-0806/prima/0010.patch
|
|
git apply $cvePatchesLinux/CVE-2016-6751/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-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-7487/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.p25"
|
|
cd $base
|