mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-07-06 03:21:15 +00:00
![Tad](/assets/img/avatar_default.png)
Fixed up: LineageOS-16.0/android_packages_apps_Backgrounds/308977.patch LineageOS-16.0/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-17.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch LineageOS-18.1/android_packages_apps_Settings/0001-Captive_Portal_Toggle.patch Must review again: LineageOS-14.1/android_packages_apps_PackageInstaller/64d8b44.patch Signed-off-by: Tad <tad@spotco.us>
26 lines
812 B
Diff
26 lines
812 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Micay <danielmicay@gmail.com>
|
|
Date: Thu, 13 Dec 2018 09:26:25 -0500
|
|
Subject: [PATCH] increase max_map_count for hardened malloc
|
|
|
|
---
|
|
rootdir/init.rc | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/rootdir/init.rc b/rootdir/init.rc
|
|
index e9fba7989..c175bc4ac 100644
|
|
--- a/rootdir/init.rc
|
|
+++ b/rootdir/init.rc
|
|
@@ -697,6 +697,8 @@ on boot
|
|
chown root system /sys/block/zram0/writeback
|
|
chmod 0664 /sys/block/zram0/writeback
|
|
|
|
+ write /proc/sys/vm/max_map_count 524240
|
|
+
|
|
# F2FS tuning. Set cp_interval larger than dirty_expire_centisecs, 30 secs,
|
|
# to avoid power consumption when system becomes mostly idle. Be careful
|
|
# to make it too large, since it may bring userdata loss, if they
|
|
--
|
|
2.31.1
|
|
|