summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayachandran C <jayachandranc@google.com>2017-07-15 03:23:54 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-15 03:23:54 +0000
commit86b224a9a58b59082696338b3c8f4b7b76c43ad0 (patch)
tree00f9566b79904c09ff6dec5ea0a47f8c916ba29a
parent9a6f8b4904329cc621afa628a7b95fb6508af11a (diff)
parent451ccc8bbab66742b66754e4cbf2880453fd6900 (diff)
downloadbullhead-86b224a9a58b59082696338b3c8f4b7b76c43ad0.tar.gz
Bullhead SE policy: Allow rild to access radio data file am: b610c423f9
am: 451ccc8bba Change-Id: I12b7e1f07edb561bb99e06056ab0fadaa6bd59ec
-rw-r--r--sepolicy/rild.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/rild.te b/sepolicy/rild.te
index 0d4f32f..14d1257 100644
--- a/sepolicy/rild.te
+++ b/sepolicy/rild.te
@@ -27,6 +27,10 @@ allow rild time_daemon:unix_stream_socket connectto;
# rild reads qcril.db linked to /system/etc/qcril.db
allow rild radio_data_file:lnk_file read;
+# allow rild to access radio data file
+allow rild radio_data_file:dir rw_dir_perms;
+allow rild radio_data_file:file create_file_perms;
+
userdebug_or_eng(`
allow rild ssr_device:chr_file { open read };