631007d58c
Change-Id: Ic0042ed52e7aeb3faba856411fd0a1b298446125
21 lines
635 B
Plaintext
21 lines
635 B
Plaintext
# 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;
|