diff options
author | Yifan Hong <elsk@google.com> | 2019-04-02 15:07:48 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-04-04 13:14:10 -0700 |
commit | 0558e5821467f10a88631b204f1d55c381e622f3 (patch) | |
tree | cd70cd6bf139a4d3a10424f27908d9ad0d1fe126 /trusty/coverage/coverage.cpp | |
parent | d588728951add8b934204c03e52c79fdbd30ac34 (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
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions