Changes for July 2024, syncing up to 20240721
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 09d951c1c516c55eb10fd8e68d27715b24b08207 Mon Sep 17 00:00:00 2001
|
||||
From 2a2cc3f795240c06e500e5c96b071390d154facb Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Sat, 17 Feb 2018 19:39:38 +0100
|
||||
Subject: [PATCH 1/5] Allow deletion of symlink
|
||||
@@ -9,10 +9,10 @@ Change-Id: I9731895f88729072297f753088583aabbe6990f4
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/FsCrypt.cpp b/FsCrypt.cpp
|
||||
index 9f6403c7..b020318a 100644
|
||||
index c81c5a5..815e70b 100644
|
||||
--- a/FsCrypt.cpp
|
||||
+++ b/FsCrypt.cpp
|
||||
@@ -378,6 +378,7 @@ static bool prepare_dir_with_policy(const std::string& dir, mode_t mode, uid_t u
|
||||
@@ -386,6 +386,7 @@ static bool prepare_dir_with_policy(const std::string& dir, mode_t mode, uid_t u
|
||||
static bool destroy_dir(const std::string& dir) {
|
||||
LOG(DEBUG) << "Destroying: " << dir;
|
||||
if (rmdir(dir.c_str()) != 0 && errno != ENOENT) {
|
||||
@@ -21,5 +21,5 @@ index 9f6403c7..b020318a 100644
|
||||
return false;
|
||||
}
|
||||
--
|
||||
2.25.1
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 95fedbd400701d064250ba91ea1ab2def4111421 Mon Sep 17 00:00:00 2001
|
||||
From c53b0e6194c1606c713400d58ddbeecab07c9a1d Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Sat, 7 Mar 2020 14:49:09 +0100
|
||||
Subject: [PATCH 2/5] Failing to create facedata shouldn't be fatal
|
||||
@@ -12,7 +12,7 @@ See https://github.com/phhusson/treble_experimentations/issues/1119
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/vold_prepare_subdirs.cpp b/vold_prepare_subdirs.cpp
|
||||
index e82a7c2d..de5583f4 100644
|
||||
index e82a7c2..de5583f 100644
|
||||
--- a/vold_prepare_subdirs.cpp
|
||||
+++ b/vold_prepare_subdirs.cpp
|
||||
@@ -208,7 +208,7 @@ static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int fla
|
||||
@@ -34,5 +34,5 @@ index e82a7c2d..de5583f4 100644
|
||||
}
|
||||
}
|
||||
--
|
||||
2.25.1
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 1542c0c97d8956fe116a937138f79ee5d725a3e9 Mon Sep 17 00:00:00 2001
|
||||
From 38af7f95ea091723fd0f32955b1e95f1f27660e7 Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Mon, 29 Nov 2021 17:49:13 -0500
|
||||
Subject: [PATCH 3/5] Don't unmount rw-system.sh binds
|
||||
@@ -9,10 +9,10 @@ Change-Id: If9132c21defa8b09879b79a70794c5275d6852d0
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/VolumeManager.cpp b/VolumeManager.cpp
|
||||
index c981f2d4..ce2a4510 100644
|
||||
index 4c06b56..1506b51 100644
|
||||
--- a/VolumeManager.cpp
|
||||
+++ b/VolumeManager.cpp
|
||||
@@ -1000,6 +1000,7 @@ int VolumeManager::unmountAll() {
|
||||
@@ -1004,6 +1004,7 @@ int VolumeManager::unmountAll() {
|
||||
while ((mentry = getmntent(fp)) != NULL) {
|
||||
auto test = std::string(mentry->mnt_dir);
|
||||
if ((StartsWith(test, "/mnt/") &&
|
||||
@@ -21,5 +21,5 @@ index c981f2d4..ce2a4510 100644
|
||||
!StartsWith(test, "/mnt/scratch") &&
|
||||
#endif
|
||||
--
|
||||
2.25.1
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 912126dd1cbdd610440ca1b35c4479fa0c61dc12 Mon Sep 17 00:00:00 2001
|
||||
From c2d239096a04484797137017eb717393cc21d212 Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Tue, 18 Oct 2022 16:08:09 -0400
|
||||
Subject: [PATCH 4/5] Exfat can be mounted with "exfat" kernel fs driver, or
|
||||
@@ -29,10 +29,10 @@ index 5e719b6..e20f170 100644
|
||||
}
|
||||
|
||||
diff --git a/fs/Exfat.cpp b/fs/Exfat.cpp
|
||||
index c8b19e0..46a0e2d 100644
|
||||
index ed53921..bbc739b 100644
|
||||
--- a/fs/Exfat.cpp
|
||||
+++ b/fs/Exfat.cpp
|
||||
@@ -61,13 +61,20 @@ status_t Mount(const std::string& source, const std::string& target, int ownerUi
|
||||
@@ -64,13 +64,20 @@ status_t Mount(const std::string& source, const std::string& target, int ownerUi
|
||||
auto mountData = android::base::StringPrintf("uid=%d,gid=%d,fmask=%o,dmask=%o", ownerUid,
|
||||
ownerGid, permMask, permMask);
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From 8ace1f37a88088486cd0f3c90ca57ac4293de5bd Mon Sep 17 00:00:00 2001
|
||||
From 81b0def0a844125866b212ecd4ac396a94b3b45a Mon Sep 17 00:00:00 2001
|
||||
From: Pierre-Hugues Husson <phh@phh.me>
|
||||
Date: Wed, 11 Mar 2020 14:02:35 +0100
|
||||
Subject: [PATCH 5/5] Every voldmanaged storage is adoptable
|
||||
@@ -8,11 +8,11 @@ Subject: [PATCH 5/5] Every voldmanaged storage is adoptable
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/main.cpp b/main.cpp
|
||||
index 078ee14b..475060dc 100644
|
||||
index 261f4d4..a45215f 100644
|
||||
--- a/main.cpp
|
||||
+++ b/main.cpp
|
||||
@@ -269,7 +269,7 @@ static int process_config(VolumeManager* vm, VoldConfigs* configs) {
|
||||
std::string nickname(entry.label);
|
||||
@@ -275,7 +275,7 @@ static int process_config(VolumeManager* vm, VoldConfigs* configs) {
|
||||
int partnum = entry.partnum;
|
||||
int flags = 0;
|
||||
|
||||
- if (entry.is_encryptable()) {
|
||||
@@ -21,5 +21,5 @@ index 078ee14b..475060dc 100644
|
||||
configs->has_adoptable = true;
|
||||
}
|
||||
--
|
||||
2.25.1
|
||||
2.34.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user