diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2020-05-10 05:53:10 +0000 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2020-05-11 11:29:59 +0900 |
commit | 3991ca5657269fbfc38f01ad757f57dd8a461f37 (patch) | |
tree | 9ae325a3a86b4a0b89b7d765043e93d642e1b4dc /trusty/coverage/coverage_test.cpp | |
parent | 8950624662a88429f016f0dea123b8b92347719e (diff) |
Parse IFA_F_* values above 0x80.
In RTM_NEWADDR messages, the first 8 flags are reported in the
ifa_flags field in struct ifaddrmsg, but flags above 0x80 are
reported in the IFA_FLAGS attribute. NetlinkEvent currently only
looks at ifa_flags, so it cannot see higher-value flags such as
IFA_F_STABLE_PRIVACY. Fix this by parsing the IFA_FLAGS
attribute.
Bug: 155005831
Test: makes new test in aosp/1295495 pass
Original-Change: https://android-review.googlesource.com/1295670
Merged-In: I723f1106cbcea2186fc6452305942a0f8301fd2a
Change-Id: I723f1106cbcea2186fc6452305942a0f8301fd2a
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions