From ede5e0944a82b70e4ce6ece5714a8e4d38423ade Mon Sep 17 00:00:00 2001 From: Anthony Stange Date: Tue, 29 Mar 2022 15:03:50 +0000 Subject: [PATCH] Add BT HAL SELinux policy Bug: 193474802 Test: presubmits Change-Id: I0ce730c119b60fdfec6e31dea88f5edbf69048ed --- whitechapel_pro/bluetooth.te | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whitechapel_pro/bluetooth.te b/whitechapel_pro/bluetooth.te index 9d909045..3795e299 100644 --- a/whitechapel_pro/bluetooth.te +++ b/whitechapel_pro/bluetooth.te @@ -1,2 +1,5 @@ allow bluetooth proc_vendor_sched:dir r_dir_perms; -allow bluetooth proc_vendor_sched:file w_file_perms; \ No newline at end of file +allow bluetooth proc_vendor_sched:file w_file_perms; + +allow hal_bluetooth_btlinux aoc_device:chr_file { getattr open read write }; +allow hal_bluetooth_btlinux device:dir r_dir_perms; \ No newline at end of file