commit | 8e1e0c4b38967c2286ac99bb42150ee9559280a1 | [log] [tgz] |
---|---|---|
author | Tri Vo <trong@google.com> | Thu Oct 12 16:35:56 2017 -0700 |
committer | Tri Vo <trong@google.com> | Thu Oct 12 16:39:44 2017 -0700 |
tree | 36d8d17e1da8b8a9b1a23501b7cfaf2025a8cde9 | |
parent | ab8307a61260eb0219a903f6f0a64c9566ed1b99 [diff] |
Use pipes instead of tmp files. Dumpstate hal does not have selinux permissions to files under /data/local/tmp. So we pass fds to pipes to the hal for testing, which works out because of this selinux rule: allow domain su:fifo_file { write getattr }; Bug: 67648445 Test: VtsHalDumpstateV1_0Target Change-Id: I804ef03250f18d3aa34393297e8ac9725e437dbb