diff options
author | Yifan Hong <elsk@google.com> | 2019-04-02 15:07:48 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2019-04-03 12:13:26 -0700 |
commit | 8df75fc30482727ff08f4ef11592723bad9c563d (patch) | |
tree | e3698077f86fd462e5361859a03c7ae9eac9b358 /libsparse/sparse.cpp | |
parent | 25d42eeaa6ace4fc57be6580dfcf45c4785fdb6f (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
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions