commit | 38898882788358f6ae26de987e1346597366d2f7 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Nov 01 12:21:35 2018 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Nov 01 12:21:35 2018 -0700 |
tree | 40c822eeff06e3144e0715eb245e43dde4452f6b | |
parent | f5852d1500b62130b6f126531d28e5e57633c252 [diff] |
set O_CLOEXEC on /dev/tun open Ensure that this file descriptor cannot leak across exec boundaries, in the unlikely event that system_server does an exec(). Test: device boots and no problems. Change-Id: I45691b7780026ea288e57db73fcc88820a2b06b1