This adds a label to the sysfs files for GSA logs to allow dumpstate to
read them during a bugreport.
(cherry picked from commit 076591d107
)
Bug: 271125313
Test: adb shell dumpstate
Change-Id: I8842c0bec972c4cfad15ca689f8e4ae7fa99e179
Merged-In: I8842c0bec972c4cfad15ca689f8e4ae7fa99e179
6 lines
159 B
Text
6 lines
159 B
Text
pixel_bugreport(dump_gsa)
|
|
|
|
userdebug_or_eng(`
|
|
allow dump_gsa vendor_toolbox_exec:file execute_no_trans;
|
|
allow dump_gsa sysfs_gsa_log:file r_file_perms;
|
|
')
|