diff --git a/sepolicy/init.te b/sepolicy/init.te index 0c66280..0fa0385 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -12,6 +12,8 @@ allow init socket_device:sock_file { create setattr unlink }; allow init system_data_file:file { rename append }; allow init firmware_file:dir mounton; +allow init fm_radio_device:chr_file write; + # ptt_socket_app allow init dnsproxyd_socket:sock_file write; allow init netd:unix_stream_socket connectto; diff --git a/sepolicy/qti_init_shell.te b/sepolicy/qti_init_shell.te index 2e32bee..c55a61b 100644 --- a/sepolicy/qti_init_shell.te +++ b/sepolicy/qti_init_shell.te @@ -1 +1,4 @@ +allow qti_init_shell apk_data_file:dir { write add_name create }; +allow qti_init_shell apk_data_file:file { create write setattr }; allow qti_init_shell bluetooth_loader_exec:file { open read }; +allow qti_init_shell hci_attach_dev:chr_file { read write open ioctl };