commit | 8df75fc30482727ff08f4ef11592723bad9c563d | [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 | 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