aboutsummaryrefslogtreecommitdiffstats
path: root/nfc.te
diff options
context:
space:
mode:
Diffstat (limited to 'nfc.te')
-rw-r--r--nfc.te13
1 files changed, 12 insertions, 1 deletions
diff --git a/nfc.te b/nfc.te
index 407a1c3..8528b4f 100644
--- a/nfc.te
+++ b/nfc.te
@@ -18,4 +18,15 @@ allow nfc nfc_data_file:notdevfile_class_set create_file_perms;
allow nfc sysfs_nfc_power_writable:file rw_file_perms;
allow nfc sysfs:file write;
-allow nfc nfc_service:service_manager add;
+allow nfc drmserver_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;
+allow nfc surfaceflinger_service:service_manager find;
+allow nfc app_api_service:service_manager find;
+allow nfc system_api_service:service_manager find;
+
+# already open bugreport file descriptors may be shared with
+# the nfc process, from a file in
+# /data/data/com.android.shell/files/bugreports/bugreport-*.
+allow nfc shell_data_file:file read;