mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Small tweaks
Sad churn from git version. Will be removed next build cycle. Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
b77444f84d
commit
e6beba4b15
39 changed files with 46 additions and 37 deletions
|
@ -49,6 +49,7 @@ commentPatches android_kernel_google_marlin.sh "0001-LinuxIncrementals/3.18/3.18
|
|||
commentPatches android_kernel_google_msm.sh "CVE-2017-11015/prima" "CVE-2021-Misc2/ANY/0031.patch";
|
||||
commentPatches android_kernel_google_msm-4.9.sh "CVE-2019-19319" "CVE-2020-0067" "CVE-2020-1749" "CVE-2020-8992";
|
||||
commentPatches android_kernel_google_redbull.sh "CVE-2018-5873" "CVE-2021-3444" "CVE-2021-3600";
|
||||
commentPatches android_kernel_google_sunfish.sh "CVE-2021-20317";
|
||||
commentPatches android_kernel_google_wahoo.sh "0008-Graphene-Kernel_Hardening/4.4/0019.patch" "CVE-2019-14047/ANY/0002.patch" "CVE-2019-19319" "CVE-2020-1749" "CVE-2020-8992" "CVE-2020-16166";
|
||||
commentPatches android_kernel_google_yellowstone.sh "0001-LinuxIncrementals/3.10/3.10.0098-0099.patch" "CVE-2018-9514";
|
||||
commentPatches android_kernel_huawei_angler.sh "CVE-2014-8559";
|
||||
|
|
|
@ -61,7 +61,7 @@ applyPatchReal() {
|
|||
if git am "$@"; then
|
||||
if [ "$DOS_REFRESH_PATCHES" = true ]; then
|
||||
if [[ "$currentWorkingPatch" == $DOS_PATCHES* ]]; then
|
||||
git format-patch -1 HEAD --zero-commit --output="$currentWorkingPatch";
|
||||
git format-patch -1 HEAD --zero-commit --no-signature --output="$currentWorkingPatch";
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
|
|
|
@ -121,7 +121,7 @@ git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3679/4.14/0002.patch
|
|||
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3732/4.14/0002.patch
|
||||
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3744/4.14/0002.patch
|
||||
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-3753/4.14/0002.patch
|
||||
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-20317/4.14/0004.patch
|
||||
#git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-20317/4.14/0004.patch
|
||||
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-20320/^5.15/0002.patch
|
||||
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-20321/4.14/0002.patch
|
||||
git apply $DOS_PATCHES_LINUX_CVES/CVE-2021-21781/4.14/0002.patch
|
||||
|
|
|
@ -358,11 +358,17 @@ fi;
|
|||
|
||||
if enterAndClear "device/lge/g2-common"; then
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs self:capability { fowner };" >> sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs block_device:lnk_file { open };" >> sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs misc_block_device:blk_file { open read };" >> sepolicy/hwaddrs.te;
|
||||
awk -i inplace '!/TARGET_RELEASETOOLS_EXTENSIONS/' BoardConfigCommon.mk; #broken releasetools
|
||||
fi;
|
||||
|
||||
if enterAndClear "device/lge/g3-common"; then
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs self:capability { fowner };" >> sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs block_device:lnk_file { open };" >> sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs misc_block_device:blk_file { open read };" >> sepolicy/hwaddrs.te;
|
||||
sed -i '1itypeattribute wcnss_service misc_block_device_exception;' sepolicy/wcnss_service.te;
|
||||
fi;
|
||||
|
||||
|
@ -378,6 +384,8 @@ fi;
|
|||
|
||||
if enterAndClear "device/lge/msm8996-common"; then
|
||||
sed -i '3itypeattribute hwaddrs misc_block_device_exception;' sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs self:capability { fowner };" >> sepolicy/hwaddrs.te;
|
||||
echo "allow hwaddrs block_device:lnk_file { open };" >> sepolicy/hwaddrs.te;
|
||||
awk -i inplace '!/WfdCommon/' msm8996.mk; #fix breakage
|
||||
echo "type sensors_data_file, file_type, data_file_type, core_data_file_type;" >> sepolicy/file.te; #only included in -userdebug
|
||||
fi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue