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
This commit is contained in:
Vic Huang
2023-07-26 02:25:57 +00:00
parent 3e3f8080aa
commit 378e0dc8e3

View File

@@ -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)
')