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>
This commit is contained in:
parent
019cc571f4
commit
02f64cf99f
7 changed files with 72 additions and 0 deletions
20
gsa/Android.bp
Normal file
20
gsa/Android.bp
Normal file
|
@ -0,0 +1,20 @@
|
|||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "dump_gsa",
|
||||
srcs: ["dump_gsa.cpp"],
|
||||
init_rc: ["init.gsa.rc"],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
"-pedantic",
|
||||
],
|
||||
shared_libs: [
|
||||
"libdump",
|
||||
],
|
||||
vendor: true,
|
||||
relative_install_path: "dump",
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue