summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Huang <vich@google.com>2023-07-26 02:25:57 +0000
committerVic Huang <vich@google.com>2023-07-26 02:25:57 +0000
commit378e0dc8e3556a21e8b4ccb564bb44cac01094fb (patch)
treea38a279196ca4fab4fb4df2fb3179f2d8c6df9f1
parent3e3f8080aa8d3d3b11a1f640803628cfbf00dcfb (diff)
downloadlynx-sepolicy-378e0dc8e3556a21e8b4ccb564bb44cac01094fb.tar.gz
L10 sepolicy update for ssr coredump
Update hal_bluetooth_default sepolicy to dump crash info to Android Subsystem Coredump collection directory Bug: 279858654 Test: Manual Change-Id: I14095753c1305f2d6e473adb5ff4ac1e20597902
-rw-r--r--bluetooth/hal_bluetooth_default.te6
1 files changed, 4 insertions, 2 deletions
diff --git a/bluetooth/hal_bluetooth_default.te b/bluetooth/hal_bluetooth_default.te
index 8bbfa77..d78de58 100644
--- a/bluetooth/hal_bluetooth_default.te
+++ b/bluetooth/hal_bluetooth_default.te
@@ -4,7 +4,9 @@ add_hwservice(hal_bluetooth_default, hal_bluetooth_coexistence_hwservice)
userdebug_or_eng(`
allow hal_bluetooth_default logbuffer_device:chr_file r_file_perms;
- allow hal_bluetooth_default sscoredump_vendor_data_crashinfo_file:dir rw_dir_perms;
- allow hal_bluetooth_default sscoredump_vendor_data_crashinfo_file:file { create_file_perms };
+ allow hal_bluetooth_default sscoredump_vendor_data_crashinfo_file:dir create_dir_perms;
+ allow hal_bluetooth_default sscoredump_vendor_data_crashinfo_file:file create_file_perms;
+ allow hal_bluetooth_default sscoredump_vendor_data_coredump_file:dir create_dir_perms;
+ allow hal_bluetooth_default sscoredump_vendor_data_coredump_file:file create_file_perms;
set_prop(hal_bluetooth_default, vendor_ssrdump_prop)
')