sepolicy: recovery: Add policy for volume manager
Fixes:
avc: denied { read } for pid=573 comm="recovery"
scontext=u:r:recovery:s0 tcontext=u:r:recovery:s0
tclass=netlink_kobject_uevent_socket permissive=1
which in turn fixes reboot
Change-Id: Ie28453602be3b5c3c4064057f5f071ee7508d316
diff --git a/common/private/recovery.te b/common/private/recovery.te
index f55499a..48eba51 100644
--- a/common/private/recovery.te
+++ b/common/private/recovery.te
@@ -2,4 +2,7 @@
userdebug_or_eng(`
permissive recovery;
')
+
+# Volume manager
+allow recovery self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
')