Marlin SE policy: Allow rild to access radio data file
This rule is moved from system public policy to vendor policy
Test: Verified radio works fine and no denials
Bug: 36740743
Change-Id: I703333429cd86b8f819be123844b0f074885571b
diff --git a/sepolicy/rild.te b/sepolicy/rild.te
index 4f9eee5..689be59 100644
--- a/sepolicy/rild.te
+++ b/sepolicy/rild.te
@@ -31,6 +31,10 @@
# rild needs 'lock' for /vendor/qcril.db
allow rild vendor_file:file { lock };
+# 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;
+
# TODO(b/36613472): Remove this once system_server, mediaserver, bluetooth, and radio no longer
# communicate with rild over sockets.
typeattribute rild socket_between_core_and_vendor_violators;