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>
20 lines
359 B
Text
20 lines
359 B
Text
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",
|
|
}
|