From a3348957899001d16a1221923674ce149bc6a554 Mon Sep 17 00:00:00 2001 From: Adam Shih Date: Tue, 28 Mar 2023 12:52:52 +0800 Subject: [PATCH] create a dump for gs201 Bug: 273380509 Test: adb bugreport Change-Id: Ic47e0d43d9a5aef4381880eabbba74633ee260a1 --- whitechapel_pro/dump_gs201.te | 5 +++++ whitechapel_pro/file_contexts | 1 + 2 files changed, 6 insertions(+) create mode 100644 whitechapel_pro/dump_gs201.te diff --git a/whitechapel_pro/dump_gs201.te b/whitechapel_pro/dump_gs201.te new file mode 100644 index 00000000..c2314753 --- /dev/null +++ b/whitechapel_pro/dump_gs201.te @@ -0,0 +1,5 @@ + +pixel_bugreport(dump_gs201) +allow dump_gs201 debugfs_tracing_instances:dir r_dir_perms; +allow dump_gs201 debugfs_tracing_instances:file r_file_perms; + diff --git a/whitechapel_pro/file_contexts b/whitechapel_pro/file_contexts index 76518071..3a354adc 100644 --- a/whitechapel_pro/file_contexts +++ b/whitechapel_pro/file_contexts @@ -44,6 +44,7 @@ /vendor/bin/hw/android\.hardware\.memtrack-service\.pixel u:object_r:hal_memtrack_default_exec:s0 /system_ext/bin/convert_to_ext4\.sh u:object_r:convert-to-ext4-sh_exec:s0 /vendor/bin/hw/disable_contaminant_detection\.sh u:object_r:disable-contaminant-detection-sh_exec:s0 +/vendor/bin/dump/dump_gs201 u:object_r:dump_gs201_exec:s0 # Vendor Firmwares /vendor/firmware(/.*)? u:object_r:vendor_fw_file:s0