device_google_gs-common/gsa/init.gsa.rc
Thomas Flucke 02f64cf99f dumpstate: gsa: Add GSA logs to dumpstate
New Stuff:
* Add program to read the GSA logs

Evidence:
avc:  denied  { read } for  comm="dump_gsa" name="gsa-log1" dev="tmpfs" ino=1261 scontext=u:r:dump_gsa:s0 tcontext=u:object_r:gsa_log_device:s0 tclass=chr_file permissive=0
avc:  denied  { read } for  comm="dump_gsa" name="gsa-bl1-log2" dev="tmpfs" ino=1222 scontext=u:r:dump_gsa:s0 tcontext=u:object_r:gsa_log_device:s0 tclass=chr_file permissive=0

Bug: 360205716
Test: adb shell dumpstate and check the dumpstate_board.txt for GSA logs
Flag: EXEMPT debug only
Change-Id: I4ea35da7916273cf526570067f24145ef4fb14f1
Signed-off-by: Thomas Flucke <tflucke@google.com>
2024-09-05 14:24:35 +00:00

6 lines
201 B
Text

on init
# Change GSA log group for dumpstate
chmod 660 /dev/gsa-log1
chmod 660 /dev/gsa-bl1-log2
chown root system /dev/gsa-log1
chown root system /dev/gsa-bl1-log2