commit | 391809025289e39f8e0eda3da949ea717bf67397 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Dec 16 08:33:52 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Dec 16 08:33:52 2015 -0800 |
tree | 6cad0b5b08b4bea78a01773fc665c48a49c192c8 | |
parent | 461a29540c01b44f07fc26ccb0d5bc7d0d92a974 [diff] |
Make host ashmem_create_region more robust. Don't clobber errno if mkstemp failed, always unlink, and only count mkstemp/ftruncate failures as real failures --- if only the unlink fails, there's no point not using what we have. Change-Id: I6bc788682c88651a50a6316b9ca07ba07e9fefa2