diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2017-08-28 18:17:56 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2017-08-28 18:23:22 +0900 |
| commit | cd0fa850d8cd05310be9b49750455dfd2e1802b0 (patch) | |
| tree | c5b2fbcc327c526e6336833ecb5ef967efd7f519 /server/TetherControllerTest.cpp | |
| parent | f9bae84e5faa86ce0cb6ffdfbeb04aec0c09631e (diff) | |
Open iptables-restore pipes with O_CLOEXEC.
This improves security and reliability, and also avoids keeping
superflous fds open in iptables-restore processes: the pipe fds
that are dup2()d are never closed.
Bug: 28362720
Test: bullhead builds, boots
Test: netd_{unit,integration}_test pass
Change-Id: Ifb57082a6c711f0684fc37a254076e84ad097b6e
Diffstat (limited to 'server/TetherControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions
