From 2a00c64a4f96d53ff8cb38526e1e6de89d21320c Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 13 Jul 2016 10:15:37 -0700 Subject: [PATCH] nfc: allow access to drmserver_service (cherry picked from commit 24ad5862bdd5b967e09825efd94d9c2d6f56c8c1) avc: denied { find } for service=drm.drmManager pid=4320 uid=1027 scontext=u:r:nfc:s0 tcontext=u:object_r:drmserver_service:s0 tclass=service_manager Arrange in alphabetical order. Bug: 30112127 Change-Id: I6592497a937c6a6d2c7c3d444beba3db333f4852 --- nfc.te | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nfc.te b/nfc.te index 05dabaa56..a4383bb4f 100644 --- a/nfc.te +++ b/nfc.te @@ -24,10 +24,11 @@ allow nfc sysfs:file write; allow nfc sysfs_usb:file write; # SoundPool loading and playback -allow nfc mediaserver_service:service_manager find; allow nfc audioserver_service:service_manager find; -allow nfc mediaextractor_service:service_manager find; +allow nfc drmserver_service:service_manager find; allow nfc mediacodec_service:service_manager find; +allow nfc mediaextractor_service:service_manager find; +allow nfc mediaserver_service:service_manager find; allow nfc nfc_service:service_manager { add find }; allow nfc radio_service:service_manager find;