commit | 3297c7d7bca85db2b178e8838138b71e9d2a86ad | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Wed Apr 10 23:22:30 2019 +0900 |
committer | Maciej Zenczykowski <maze@google.com> | Thu May 02 00:49:33 2019 +0000 |
tree | 0a8afeddec201ee6f1b47629cd6bdaefad13b8ca | |
parent | 35d9175db948861be168f20bf72f928802b85fe1 [diff] |
Enable clang-tidy for clatd. Enable the same warnings used elsewhere in the tree, and fix two warnings it found (a safe use of strcpy, and a missing O_CLOEXEC when opening the tun device node. Test: builds, boots, clatd works Test: m clatd clatd_test clatd_microbenchmark && atest clatd_test Bug: 131268436 Change-Id: I9a5ea4de5f31d3c495871250a6493b07535a604b Merged-In: I9a5ea4de5f31d3c495871250a6493b07535a604b (cherry picked from commit 6a095dfa6bd2000f650308cdfa5a69e2635c02ec)