commit | 60c46da26770c2bd9eb5a8cb37b255ea828bc720 | [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 | 369e1c1c39a2a0b2bf863937169340437e0641ac [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