From f5a2353ae75b86da76834b66ed3b46b1a03214c4 Mon Sep 17 00:00:00 2001
From: Ruchi Kandoi <kandoiruchi@google.com>
Date: Thu, 25 May 2017 15:52:55 -0700
Subject: [PATCH] Allows nfc to access vr_manager_service

SELinux : avc:  denied  { find } for service=vrmanager pid=2364 uid=1027
scontext=u:r:nfc:s0 tcontext=u:object_r:vr_manager_service:s0
tclass=service_manager permissive=0

Test: manual
Bug: 35889571
Change-Id: If95bb5c286def99a0439b36a31b52fa9dfd4a2f4
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
---
 private/nfc.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/private/nfc.te b/private/nfc.te
index 25ad702b5..1a4f789ee 100644
--- a/private/nfc.te
+++ b/private/nfc.te
@@ -24,6 +24,7 @@ allow nfc radio_service:service_manager find;
 allow nfc surfaceflinger_service:service_manager find;
 allow nfc app_api_service:service_manager find;
 allow nfc system_api_service:service_manager find;
+allow nfc vr_manager_service:service_manager find;
 
 # already open bugreport file descriptors may be shared with
 # the nfc process, from a file in
-- 
GitLab