From 7818711ab9ac68e8865a35ed0440b3a2b3dad3bb Mon Sep 17 00:00:00 2001 From: dcashman Date: Thu, 15 Jan 2015 13:58:34 -0800 Subject: [PATCH] Allow nfc nfc and radio service access. Address the following denials: SELinux : avc: denied { find } for service=phone scontext=u:r:nfc:s0 tcontext=u:object_r:radio_service:s0 tclass=service_manager SELinux : avc: denied { find } for service=nfc scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_service:s0 tclass=service_manager Bug: 18929632 Change-Id: I54c3d194f9401eb5dc6f2114ebddea241c433f71 --- nfc.te | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nfc.te b/nfc.te index 709e5b949..e825b1b71 100644 --- a/nfc.te +++ b/nfc.te @@ -20,7 +20,8 @@ allow nfc sysfs:file write; allow nfc drmserver_service:service_manager find; allow nfc mediaserver_service:service_manager find; -allow nfc nfc_service:service_manager add; +allow nfc nfc_service:service_manager { add find }; +allow nfc radio_service:service_manager find; allow nfc surfaceflinger_service:service_manager find; allow nfc system_server_service:service_manager find; allow nfc tmp_system_server_service:service_manager find;