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,8 +1,7 @@
From dad654943fe290ab081c3e5b07cc913130f1d3ad Mon Sep 17 00:00:00 2001
From 8a2ca3ce52ddfeb816890380a1509b410a3c8943 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 2 Jul 2018 22:01:43 +0200
Subject: [PATCH 1/2] [device] ::Huawei Kirin 960:: accept broken rpfilter
match
Subject: [PATCH 1/2] Huawei Kirin 960:: accept broken rpfilter match
How bad a security flaw is this?
People lived with rpfilter on IPv4 for a very long time...
@@ -13,7 +12,7 @@ Change-Id: I9aa63d18e54a8254133adf97bf757c03d6b66757
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/TetherController.cpp b/server/TetherController.cpp
index 0c5b6bfe..d9439be6 100644
index e9445c82..64ff80b0 100644
--- a/server/TetherController.cpp
+++ b/server/TetherController.cpp
@@ -696,7 +696,7 @@ int TetherController::setForwardRules(bool add, const char *intIface, const char
@@ -26,5 +25,5 @@ index 0c5b6bfe..d9439be6 100644
}
--
2.17.1
2.25.1

View File

@@ -1,4 +1,4 @@
From 107c7e3fbff713065def6e10f11e7210929726fe Mon Sep 17 00:00:00 2001
From be7c2877572c5aec84cd7aed071def189d17e0f0 Mon Sep 17 00:00:00 2001
From: Pierre-Hugues Husson <phh@phh.me>
Date: Mon, 29 Jul 2019 18:09:12 +0200
Subject: [PATCH 2/2] Don't fail on FTP conntracking failing
@@ -43,5 +43,5 @@ index 64ff80b0..2fa4a0c9 100644
StringPrintf("%s %s -i %s -o %s -m state --state ESTABLISHED,RELATED -g %s", op,
LOCAL_FORWARD, extIface, intIface, LOCAL_TETHER_COUNTERS_CHAIN),
--
2.17.1
2.25.1