commit | f274e78eeb2b1dcb951dddc89dd574a4909ac647 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Wed Oct 03 13:13:41 2018 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Wed Oct 03 13:19:04 2018 -0700 |
tree | cd7ac776f767e0f79fc45d28b9342937317371c1 | |
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