summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-04-02 15:07:48 -0700
committerYifan Hong <elsk@google.com>2019-04-03 12:13:26 -0700
commit2263a0cede61c67a5c92a6312570949fdfb99589 (patch)
treee3698077f86fd462e5361859a03c7ae9eac9b358 /libsparse/sparse.cpp
parentf4dff4922365435dbb0a1c02e0c1e90f89c93e23 (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