[ALPS04714586] Allow factory to access AOSP property
Add SELINUX permission to allow factory to access AOSP property persist.radio.multisim.config MTK-Commit-Id: c73e634717213512f3a41c9850b7a4320f53b74c Change-Id: I2a1f4437da9944b9c63876a9caa5549cbe29af27 CR-Id: ALPS04714586 Feature: Factory Mode
This commit is contained in:
parent
8d8e513025
commit
2b5f5ceb7d
@ -383,9 +383,6 @@ allow factory mtk_audiohal_data_file:file { write create unlink r_file_perms };
|
|||||||
# Purpose : Allow factory to open /proc/version
|
# Purpose : Allow factory to open /proc/version
|
||||||
allow factory proc_version:file {read open getattr};
|
allow factory proc_version:file {read open getattr};
|
||||||
|
|
||||||
# Allow to use persist.radio.multisim.config
|
|
||||||
allow factory exported3_radio_prop:file { read open getattr };
|
|
||||||
|
|
||||||
# Purpose : adsp
|
# Purpose : adsp
|
||||||
allow factory adsp_device:chr_file rw_file_perms;
|
allow factory adsp_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
@ -393,6 +390,6 @@ allow factory adsp_device:chr_file rw_file_perms;
|
|||||||
allow factory vendor_nfc_socket:dir { write add_name remove_name search };
|
allow factory vendor_nfc_socket:dir { write add_name remove_name search };
|
||||||
allow factory vendor_nfc_socket:sock_file { create write unlink setattr };
|
allow factory vendor_nfc_socket:sock_file { create write unlink setattr };
|
||||||
|
|
||||||
# Allow to get AOSP property
|
# Allow to get AOSP property persist.radio.multisim.config
|
||||||
get_prop(factory, exported3_radio_prop);
|
get_prop(factory, exported3_radio_prop)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user