From 3aac44ed179e3a9373b743f08b555757919b9abd Mon Sep 17 00:00:00 2001 From: Paul Lawrence <paullawrence@google.com> Date: Wed, 3 Jun 2015 14:09:21 -0700 Subject: [PATCH] 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: I819f6a54c0a232826016823f2fde3adf7be31f9d --- file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/file_contexts b/file_contexts index bcb4ae066..ce756296f 100644 --- a/file_contexts +++ b/file_contexts @@ -82,6 +82,7 @@ /dev/socket(/.*)? u:object_r:socket_device:s0 /dev/socket/adbd u:object_r:adbd_socket:s0 /dev/socket/sap_uim_socket[0-9] u:object_r:sap_uim_socket:s0 +/dev/socket/cryptd u:object_r:vold_socket:s0 /dev/socket/dnsproxyd u:object_r:dnsproxyd_socket:s0 /dev/socket/dumpstate u:object_r:dumpstate_socket:s0 /dev/socket/fwmarkd u:object_r:fwmarkd_socket:s0 -- GitLab