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