From 28fd0656c2594f89bd1859fcd2f221f34e8151ee Mon Sep 17 00:00:00 2001 From: Vachounet Date: Thu, 22 Jun 2017 14:09:13 +0200 Subject: [PATCH] potter: address FM denials --- sepolicy/init.te | 2 ++ sepolicy/qti_init_shell.te | 3 +++ 2 files changed, 5 insertions(+) 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 };