diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2017-01-31 19:00:49 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2017-02-10 11:39:34 +0900 |
| commit | cd28377ac7736aa18700ffdc075e3b16c1d1f656 (patch) | |
| tree | 37427e0bb20088b4b3c07cefbe0eb7e7a828410c /server/InterfaceController.cpp | |
| parent | 946a9eab0642ef8c8ec4f9cc740b6a5320cda281 (diff) | |
Support reading output from IptablesRestoreController.
Add the ability to IptablesRestoreController to return the output
of a command. This is useful to run commands that list chains or
return counters through the ip[6]tables-restore.
Also enable unsigned-integer-overflow sanitization the unit tests
because their behaviour should be representative of actual code.
Having address sanitization enabled would have saved a fair
amount of time debugging an on-device abort() that did not affect
the tests.
Test: new unit test passes
Bug: 32323979
Change-Id: I70726ebbade0cb792aba38787c57378df177f2d8
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions
