commit | d4929f5205ec310503ad257a51f4d21ce0a3b788 | [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 | e4471bf8cf2d79c48ffdb9aaa38081bbdbabb136 [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