From b610c423f93a98130d6e46cd321da70c6558b749 Mon Sep 17 00:00:00 2001 From: Jayachandran C Date: Wed, 12 Jul 2017 19:25:38 -0700 Subject: Bullhead 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: I2baefddf49194bb5b099e56d7b37623b99b6078f --- sepolicy/rild.te | 4 ++++ 1 file changed, 4 insertions(+) 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 }; -- cgit v1.2.3