cbd: Grant to access slog file

Bug: 184646743
Change-Id: I06ecfbc8b9276b3801725f0965b03b849eddbdfc
This commit is contained in:
SalmaxChang 2021-04-08 11:44:28 +08:00 committed by Salmax Chang
parent 6c4d851d28
commit 6dd6d9872e

View file

@ -53,6 +53,8 @@ allow cbd sscoredump_vendor_data_crashinfo_file:dir create_dir_perms;
allow cbd sscoredump_vendor_data_crashinfo_file:file create_file_perms;
userdebug_or_eng(`
r_dir_file(cbd, vendor_slog_file)
allow cbd kernel:system syslog_read;
allow cbd sscoredump_vendor_data_coredump_file:dir create_dir_perms;