commit | 2263a0cede61c67a5c92a6312570949fdfb99589 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Apr 02 15:07:48 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed Apr 03 12:13:26 2019 -0700 |
tree | e3698077f86fd462e5361859a03c7ae9eac9b358 | |
parent | f4dff4922365435dbb0a1c02e0c1e90f89c93e23 [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