commit | 164bd533a0606e7beba40b79fbe70b507ab94075 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Apr 02 15:07:48 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Apr 04 13:14:10 2019 -0700 |
tree | cd70cd6bf139a4d3a10424f27908d9ad0d1fe126 | |
parent | 571e77b360dc39c49e205b4c0995e1a1aae65154 [diff] |
CgroupSetupCgroups: don't leak fd. - If file is unlinked, the mmapped region is still there. - If file is truncated, a SIGBUS will be seen, and holding the fd doesn't help. Test: boots (sanity) Bug: 123664216 Change-Id: I6683804bc795fab6798891a4471e5fe58fbffe13 Merged-In: I6683804bc795fab6798891a4471e5fe58fbffe13