diff options
author | Paul Lawrence <paullawrence@google.com> | 2015-06-03 14:18:17 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2015-06-03 14:18:17 -0700 |
commit | b411bcc138293db5e09c1f5af638115b3c7c18f8 (patch) | |
tree | 6dc91185c2069121b10b572f36db28b83c86ef41 | |
parent | af02e8aa9164f723a0c2a421a97c227c5adff4c2 (diff) | |
download | extras-b411bcc138293db5e09c1f5af638115b3c7c18f8.tar.gz |
Move crypt commands to a different listener in vold
In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.
While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.
Bug: 19197175
Change-Id: Id87764ed68c169fc6b94ea4f4f7a51a7ec9c7564
-rw-r--r-- | ext4_utils/ext4_crypt_init_extensions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/ext4_crypt_init_extensions.cpp b/ext4_utils/ext4_crypt_init_extensions.cpp index cae1f7f6..7ae076a3 100644 --- a/ext4_utils/ext4_crypt_init_extensions.cpp +++ b/ext4_utils/ext4_crypt_init_extensions.cpp @@ -26,7 +26,7 @@ static std::string vold_command(std::string const& command) int sock = -1; while (true) { - sock = socket_local_client("vold", + sock = socket_local_client("cryptd", ANDROID_SOCKET_NAMESPACE_RESERVED, SOCK_STREAM); if (sock >= 0) { |