mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-04 15:35:04 -04:00
Overhaul variable names
This commit is contained in:
parent
4917b3ebc7
commit
d2ba1ddb20
60 changed files with 3800 additions and 3802 deletions
|
@ -17,24 +17,24 @@
|
|||
|
||||
#Attempts to patch kernels to be more secure
|
||||
|
||||
#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!
|
||||
#Is this the best way to do it? No. Is it the proper way to do it? No. Is it better then nothing? YES!
|
||||
|
||||
#Troubleshooting a patch
|
||||
##If you get an error like the following
|
||||
#> ../../../../../../kernel/nextbit/msm8992/drivers/media/platform/msm/camera_v2/sensor/actuator/msm_actuator.c:1116:32: error: 'ACTUATOR_POWER_UP' undeclared (first use in this function)
|
||||
#$ cd $cvePatchesLinux
|
||||
#$ cd $DOS_CVES_LINUX
|
||||
#$ grep "ACTUATOR_POWER_UP" . -Ri
|
||||
#> ./CVE-2018-3585/3.10/0001.patch:+ if (a_ctrl->actuator_state != ACTUATOR_POWER_UP) {
|
||||
#$ nano $cveScripts/android_kernel_nextbit_msm8992.sh
|
||||
#$ nano $DOS_SCRIPTS_CVES/android_kernel_nextbit_msm8992.sh
|
||||
# Comment out CVE-2018-3585/3.10/0001.patch
|
||||
|
||||
echo "Patching CVEs...";
|
||||
|
||||
cd "$base";
|
||||
for patcher in "$cveScripts"/*.sh; do
|
||||
cd "$DOS_BUILD_BASE";
|
||||
for patcher in "$DOS_SCRIPTS_CVES"/*.sh; do
|
||||
echo "Running $patcher";
|
||||
source "$patcher";
|
||||
done;
|
||||
|
||||
cd "$base";
|
||||
cd "$DOS_BUILD_BASE";
|
||||
echo "Patched CVEs!";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue