android_device_samsung_msm8.../sepolicy/common/vendor_init.te

21 lines
635 B
Plaintext
Raw Normal View History

# This really is necessary for init.qcom.rc to manually restorecon the
# /data/data/com.android.providers.telephony/(databases|shared_prefs)
# symlinks. Without the manual restorecon, we would have to allow rild
# to read any system_data_file:lnk_file.
selinux_check_context(vendor_init)
allow vendor_init {
packages_list_file
seapp_contexts_file
}:file r_file_perms;
allow vendor_init {
radio_data_file
system_data_file
}:lnk_file create_file_perms;
allow vendor_init radio_data_file:lnk_file relabelto;
allow vendor_init system_data_file:lnk_file relabelfrom;
allow vendor_init wifi_data_file:file create_file_perms;