From 3f4efd7619073a39b34443ca78fe0da58e1ab8d9 Mon Sep 17 00:00:00 2001 From: Nitin Shivpure Date: Wed, 29 May 2019 15:00:13 +0530 Subject: [PATCH] sepolicy: allow bluetooth to access perf hal allow bluetooth to access perf hal Change-Id: Ibe71b00b71b010c8032a563638debea7990067b6 --- legacy/vendor/common/bluetooth.te | 5 ++++- qva/vendor/common/bluetooth.te | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/legacy/vendor/common/bluetooth.te b/legacy/vendor/common/bluetooth.te index 2adc359b..d0029a0e 100644 --- a/legacy/vendor/common/bluetooth.te +++ b/legacy/vendor/common/bluetooth.te @@ -84,4 +84,7 @@ dontaudit bluetooth { }:service_manager find; #allow bluetooth to access btconfigstore hal -hal_client_domain(bluetooth, hal_btconfigstore); \ No newline at end of file +hal_client_domain(bluetooth, hal_btconfigstore); + +#allow bluetooth to access perf hal +hal_client_domain(bluetooth, hal_perf); diff --git a/qva/vendor/common/bluetooth.te b/qva/vendor/common/bluetooth.te index 0d08f421..cd9593b6 100644 --- a/qva/vendor/common/bluetooth.te +++ b/qva/vendor/common/bluetooth.te @@ -24,5 +24,9 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #allow bluetooth to access btconfigstore hal -hal_client_domain(bluetooth, hal_btconfigstore); \ No newline at end of file +hal_client_domain(bluetooth, hal_btconfigstore); + +#allow bluetooth to access perf hal +hal_client_domain(bluetooth, hal_perf);