diff --git a/app.te b/app.te index 06ede7263ab4670cc6fe9464a6e06a07d24e5c36..cd1d7752d188a1c0e32dd84058e040dba9fd8742 100644 --- a/app.te +++ b/app.te @@ -101,6 +101,9 @@ allow appdomain system_data_file:lnk_file getattr; # Allow read/stat of /data/media files passed by Binder or local socket IPC. allow appdomain media_rw_data_file:file { read getattr }; +# Read /data/data/com.android.providers.telephony files passed over Binder. +allow appdomain radio_data_file:file { read getattr }; + # Access SDcard. allow appdomain sdcard_type:dir create_dir_perms; allow appdomain sdcard_type:file create_file_perms; diff --git a/drmserver.te b/drmserver.te index c8e0b217029faf4829e95433aef3204eba9a95b6..e2b62df2ec5bea54dac298d734d31b51ca8d7857 100644 --- a/drmserver.te +++ b/drmserver.te @@ -41,3 +41,6 @@ r_dir_file(drmserver, media_rw_data_file) # Read resources from open apk files passed over Binder. allow drmserver apk_data_file:file { read getattr }; allow drmserver asec_apk_file:file { read getattr }; + +# Read /data/data/com.android.providers.telephony files passed over Binder. +allow drmserver radio_data_file:file { read getattr }; diff --git a/mediaserver.te b/mediaserver.te index 43783d653efc3408ca1c986d013e13dd23fb3021..cdd9772b95d7b0c6bd31122c6558180c7db27c19 100644 --- a/mediaserver.te +++ b/mediaserver.te @@ -40,6 +40,9 @@ allow mediaserver sysfs:file rw_file_perms; allow mediaserver apk_data_file:file { read getattr }; allow mediaserver asec_apk_file:file { read getattr }; +# Read /data/data/com.android.providers.telephony files passed over Binder. +allow mediaserver radio_data_file:file { read getattr }; + # Access camera device. allow mediaserver camera_device:chr_file rw_file_perms; allow mediaserver rpmsg_device:chr_file rw_file_perms;