2017-10-29 01:48:53 -04:00
|
|
|
#!/bin/bash
|
2017-10-31 13:24:35 -04:00
|
|
|
#Copyright (c) 2017 Spot Communications, Inc.
|
2017-10-29 01:48:53 -04:00
|
|
|
|
|
|
|
#Attempts to patch kernels to be more secure
|
|
|
|
|
2017-10-29 14:23:02 -04: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!
|
|
|
|
|
2017-10-29 01:48:53 -04:00
|
|
|
echo "Patching CVEs..."
|
|
|
|
|
2017-10-29 02:43:38 -04:00
|
|
|
cd $base
|
|
|
|
for patcher in $cveScripts/*.sh; do
|
|
|
|
echo "Running " $patcher;
|
|
|
|
source $patcher;
|
|
|
|
done;
|
2017-10-29 01:48:53 -04:00
|
|
|
|
|
|
|
cd $base
|
|
|
|
echo "Patched CVEs!"
|