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 35f1ad4..1516e8e 100644
--- a/common/private/recovery.te
+++ b/common/private/recovery.te
@@ -31,4 +31,7 @@
# Some addons require this for A/B installation compatibility
allow recovery system_file:dir mounton;
+
+# Volume manager
+allow recovery self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
')