#!/bin/bash cd "$DOS_BUILD_BASE""kernel/brcm/rpi3" git apply $DOS_PATCHES_LINUX_CVES/0003-syskaller-Misc/ANY/0008.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2014-9892/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2014-9900/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2015-8944/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-1583/ANY/0002.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-3140/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2016-4578/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0537/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0627/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0750/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-13245/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-16USB/ANY/0006.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-3575/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-5848/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9363/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2018-9415/ANY/0001.patch git apply $DOS_PATCHES_LINUX_CVES/CVE-2017-0750/ANY/0001.patch editKernelLocalversion "-dos.p17" cd "$DOS_BUILD_BASE"