[1/n] Refresh patchset for bionic and system/core
This commit is contained in:
parent
9d9e775f06
commit
3e5414feeb
3 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
From 9f770e862954f07e8a7cce36aedd4879b10641c6 Mon Sep 17 00:00:00 2001
|
||||
From bbbab7648b18d274e5751e81e947ce77dd8d80c8 Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Sat, 19 Feb 2022 08:20:25 -0500
|
||||
Subject: [PATCH] Add new mechanism to fake vendor props on a per-process basis
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From bb84dbc1eafbe7604912a7cba72ae65417c2923d Mon Sep 17 00:00:00 2001
|
||||
From dec8e279b0e806ba98e9457e5c4be87dd7f53259 Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Wed, 23 Feb 2022 17:37:47 -0500
|
||||
Subject: [PATCH 1/2] init: Override select system properties
|
||||
|
@ -11,10 +11,10 @@ Change-Id: I94efa3f108ae97711026f099f367b6bea325629f
|
|||
1 file changed, 11 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/init/property_service.cpp b/init/property_service.cpp
|
||||
index f2606e3..d12fac1 100644
|
||||
index 83e9a0d..97d2fe0 100644
|
||||
--- a/init/property_service.cpp
|
||||
+++ b/init/property_service.cpp
|
||||
@@ -797,13 +797,20 @@ static void LoadProperties(char* data, const char* filter, const char* filename,
|
||||
@@ -795,13 +795,20 @@ static void LoadProperties(char* data, const char* filter, const char* filename,
|
||||
std::string error;
|
||||
if (CheckPermissions(key, value, context, cr, &error) == PROP_SUCCESS) {
|
||||
auto it = properties->find(key);
|
||||
|
@ -40,5 +40,5 @@ index f2606e3..d12fac1 100644
|
|||
LOG(ERROR) << "Do not have permissions to set '" << key << "' to '" << value
|
||||
<< "' in property file '" << filename << "': " << error;
|
||||
--
|
||||
2.44.0
|
||||
2.48.1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From f1bdfa28ee093ca4db697560ccd4b1e4b24be937 Mon Sep 17 00:00:00 2001
|
||||
From 1fba99a3d1ffe80ef978a4d99c79a83218e3b5bd Mon Sep 17 00:00:00 2001
|
||||
From: Isaac Chen <tingyi364@gmail.com>
|
||||
Date: Wed, 23 Jun 2021 13:07:30 +0800
|
||||
Subject: [PATCH 2/2] init: Do not start console service when debuggable
|
||||
|
@ -13,10 +13,10 @@ Change-Id: I34cfd6b42d3b9aee4b3e63181480cfb8b1255f29
|
|||
1 file changed, 3 deletions(-)
|
||||
|
||||
diff --git a/rootdir/init.rc b/rootdir/init.rc
|
||||
index 1acd637..c3d963f 100644
|
||||
index 471059b..0019c38 100644
|
||||
--- a/rootdir/init.rc
|
||||
+++ b/rootdir/init.rc
|
||||
@@ -1355,9 +1355,6 @@ on property:ro.debuggable=1
|
||||
@@ -1315,9 +1315,6 @@ on property:ro.debuggable=1
|
||||
# Give reads to anyone for the accessibility trace folder on debug builds.
|
||||
chmod 0775 /data/misc/a11ytrace
|
||||
|
||||
|
@ -27,5 +27,5 @@ index 1acd637..c3d963f 100644
|
|||
on property:persist.device_config.mglru_native.lru_gen_config=none
|
||||
write /sys/kernel/mm/lru_gen/enabled 0
|
||||
--
|
||||
2.44.0
|
||||
2.48.1
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue