commit | 6443a858a688286d8f65150720a48415d8e6d729 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Feb 23 18:46:49 2017 -0800 |
committer | Josh Gao <jmgao@google.com> | Fri Feb 24 12:15:15 2017 -0800 |
tree | 26ce3508eaccf001c0ba1da5374a7215c52b39d3 | |
parent | a26000b8f5c85705d56444e052eb1e775ad5a7e1 [diff] |
Open /data/anr/traces.txt with O_APPEND. Should fix selinux denial: audit(0.0:7893): avc: denied { write } for path="/data/anr/traces.txt" dev="sda35" ino=679938 scontext=u:r:crash_dump:s0 tcontext=u:object_r:anr_data_file:s0 tclass=file permissive=0 Bug: 35727090 Test: none Change-Id: I5c131ca1ee48ed00934a9aa7c611ee35fc4f9f2a