diff options
| author | 2019-07-02 23:47:35 -0700 | |
|---|---|---|
| committer | 2019-07-03 15:28:54 -0700 | |
| commit | 100bbdc8f3458b8a48b339356130cf4165aaadea (patch) | |
| tree | 735868a12136ad63c532201c5ec430d93348c05a /java/kotlin_test.go | |
| parent | 82fe59b65684462cb70a17145336e54c3fe5c79c (diff) | |
Wrap getenv when linking a coverage-enabled binary
The wrapper to getenv() appends the effective userid (euid) of the
current process to GCOV_PREFIX. This avoids conflicts and permissions
issues when multiple processes try to create/access the same directories
and files under /data/misc/trace.
Test: Verify that coverage files are written to
/data/misc/trace/<euid>/proc/... instead of /data/misc/trace/proc/...
Change-Id: If58081a12b2b9bc40cfcbf64c99beafe198d07af
Diffstat (limited to 'java/kotlin_test.go')
0 files changed, 0 insertions, 0 deletions