Regenerate patches

frameworks/base got too messy, time to clean it up
This commit is contained in:
Andy CrossGate Yan
2020-08-06 12:25:05 +00:00
parent 85c08ba1de
commit 79b5b414a7
150 changed files with 615 additions and 881 deletions

View File

@@ -1,7 +1,7 @@
From 2357a8f50b6ec8e1ed4d863c4b18aaed8af6a3db Mon Sep 17 00:00:00 2001
From 0fcb4cf13bf9b59218267fa54f4334c397da96f4 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Fri, 2 Mar 2018 22:49:55 +0100
Subject: [PATCH 1/6] Enable multipl_decls by default. This is needed because
Subject: [PATCH 1/8] Enable multipl_decls by default. This is needed because
8.0 init doesn't add -m
Change-Id: I43dc661d519f7b8576d72a828d8cbd444592bf5e
@@ -23,5 +23,5 @@ index ad6862ba..8799e99a 100644
int preserve_tunables = 0;
int handle_unknown = -1;
--
2.17.1
2.25.1

View File

@@ -1,7 +1,7 @@
From 04ac55163d403dba2d986cb41805663ea5fa465a Mon Sep 17 00:00:00 2001
From 59e09675460e91cb989bc04886edb9aed738c63a Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 9 Apr 2018 00:19:49 +0200
Subject: [PATCH 2/6] Increase default log_level to get actual selinux error in
Subject: [PATCH 2/8] Increase default log_level to get actual selinux error in
kmsg
---
@@ -22,5 +22,5 @@ index 8799e99a..631b4b0a 100644
{"help", no_argument, 0, 'h'},
{"verbose", no_argument, 0, 'v'},
--
2.17.1
2.25.1

View File

@@ -1,8 +1,8 @@
From 0883dddcc377f9c8c271b4ee1b5796cca6b9938c Mon Sep 17 00:00:00 2001
From bb0fa90347c9acd0a4b215b9f2244d2761667bdc Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 3 Dec 2018 20:54:54 +0100
Subject: [PATCH 3/6] ::Kirin:: Workaround some conflicting Kirin tether
SELinux context
Subject: [PATCH 3/8] Kirin:: Workaround some conflicting Kirin tether SELinux
context
Some Kirin devices declared some android.hardware.tetheroffload HALs,
but they didn't use AOSP contexts.
@@ -36,5 +36,5 @@ index eaca5947..ab92985b 100644
errno = EINVAL;
selinux_log
--
2.17.1
2.25.1

View File

@@ -1,7 +1,7 @@
From fac785e80fa91a71c29c95817110154e4c60464d Mon Sep 17 00:00:00 2001
From 8d23d9c14cc95edd2f3fc31433357e6249af1a11 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Fri, 6 Sep 2019 15:07:25 +0200
Subject: [PATCH 4/6] Allow /devices/virtual/block/ genfscon conflict (seen on
Subject: [PATCH 4/8] Allow /devices/virtual/block/ genfscon conflict (seen on
Xiaomi Mi 9)
Change-Id: I06e4e9d5b82d61a8aeab595b47e2589249675895
@@ -39,5 +39,5 @@ index 0b09cecc..255c9e12 100644
int cil_post_netifcon_context_compare(const void *a, const void *b)
--
2.17.1
2.25.1

View File

@@ -1,7 +1,7 @@
From c741063fdd7cbb01dda51737db457e4043af0d04 Mon Sep 17 00:00:00 2001
From 2613e4dd6fe7b351581799e11980104b25e443f1 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Thu, 12 Sep 2019 20:34:28 +0200
Subject: [PATCH 5/6] Most horrific: Remove ramdisk's zygote init scripts
Subject: [PATCH 5/8] Most horrific: Remove ramdisk's zygote init scripts
This is needed because:
- only secilc is run soon enough in /system to
@@ -40,5 +40,5 @@ index 631b4b0a..3dd6e7ce 100644
opt_char = getopt_long(argc, argv, "o:f:U:hvt:M:PDmNc:GX:", long_opts, &opt_index);
if (opt_char == -1) {
--
2.17.1
2.25.1

View File

@@ -1,7 +1,7 @@
From 80f7a20f831e6d2028678899c39fe779024433f1 Mon Sep 17 00:00:00 2001
From 0646089ab1c663e04dd7ba364c6e06db3fb67695 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Thu, 12 Sep 2019 20:37:04 +0200
Subject: [PATCH 6/6] if service is "rcs", accept conflict. Seen on Moto E5
Subject: [PATCH 6/8] if service is "rcs", accept conflict. Seen on Moto E5
Change-Id: I0cc2d0fad83f403f2b5d7458039b1564ce5ed9dd
---
@@ -40,5 +40,5 @@ index ab92985b..ca16327c 100644
selinux_log
(SELINUX_WARNING,
--
2.17.1
2.25.1

View File

@@ -1,7 +1,7 @@
From 477ef41ac3a639f4c34c8ecf323d25ed2d3e8e8e Mon Sep 17 00:00:00 2001
From 619185d4d8d3af1b86a2aba200659ad6ae09b44a Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Fri, 25 Oct 2019 13:29:20 +0200
Subject: [PATCH 7/7] Fix boot on Moto devices using unknown class
Subject: [PATCH 7/8] Fix boot on Moto devices using unknown class
vendor sepolicy never contains new class or classorder, and are not
allowed to.
@@ -80,5 +80,5 @@ index b90b0f60..6f391940 100644
if (rc != SEPOL_OK) {
goto exit;
--
2.17.1
2.25.1

View File

@@ -1,4 +1,4 @@
From b54a7a80c84c693549a77c57e2dc5a023928f524 Mon Sep 17 00:00:00 2001
From 6e9400a75c7193ba7e4d5050e3a0e71627d38ce8 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Sun, 24 May 2020 17:22:22 +0200
Subject: [PATCH 8/8] Allow mismatches of exfat genfscon
@@ -23,5 +23,5 @@ index 255c9e12..f97c65c1 100644
fprintf(stderr, "Received conflicting %s vs %s but ignore\n", a_genfscon->path_str, b_genfscon->path_str);
return 0;
--
2.17.1
2.25.1