diff options
| author | Tom Cherry <tomcherry@google.com> | 2018-10-03 13:13:41 -0700 |
|---|---|---|
| committer | Tom Cherry <tomcherry@google.com> | 2018-10-03 13:19:04 -0700 |
| commit | f274e78eeb2b1dcb951dddc89dd574a4909ac647 (patch) | |
| tree | cd7ac776f767e0f79fc45d28b9342937317371c1 /trusty/coverage/coverage_test.cpp | |
| parent | 3da42a6c05311653ff5d12b5057d5f3c40ac0c1a (diff) | |
fs_mgr/init: use unique_ptr + CLO_EXEC for setmntent()/fopen()
We ran into an issue with an fd leaking due to missing both CLO_EXEC
and fclose() in related code, so let's make sure we're safe here too.
Test: boot
Change-Id: Ief893c936859815c78fa6d7e06cb88ad34aadbac
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
