DivestOS/Scripts/LineageOS-14.1/Patch_CVE.sh

18 lines
413 B
Bash
Raw Normal View History

#!/bin/bash
#Copyright (c) 2015-2017 Spot Communications, Inc.
#Attempts to patch kernels to be more secure
2017-10-29 18:23:02 +00:00
#Is this the best way to do it? No. Is it the proper way to do it? No. Do I wish device maintainers would do it? Yes. Is it better then nothing? YES!
echo "Patching CVEs..."
2017-10-29 06:43:38 +00:00
cd $base
for patcher in $cveScripts/*.sh; do
echo "Running " $patcher;
source $patcher;
done;
cd $base
echo "Patched CVEs!"