summaryrefslogtreecommitdiffstats
path: root/libcutils/ashmem-host.c
Commit message (Collapse)AuthorAgeFilesLines
* libcutils: ashmem fortify and comply with Android coding standardMark Salyzyn2016-07-151-2/+5
| | | | | | | | | | - sort header order and in groups - remove all tabs, use only spaces - use TEMP_FAILURE_RETRY in system calls - preserve errno for -1 return Bug: 26871259 Change-Id: I94fffbcaeba01fcc18a3ed07c02389c06c54d3b7
* Use mkstemp for host ashmem.Elliott Hughes2015-02-091-43/+7
| | | | | Bug: 19310167 Change-Id: Ic4e32b3924a9aa0b0d095d445108cbcf2231cd91
* Make host ashmem_create_region seed only once.Mathieu Chartier2014-06-031-61/+63
| | | | | | | | | Not seeding this each call should help reduce collisions when multiple threads are calling ashmem_create_region. Also cleaned up code by deleting gotos, and making formatting consistent. Bug: 15394258 Change-Id: Iafdaea57b2317e0eb7c40d7b5595c523814fd88c
* libcutils: Mac build pulls in __unused from sys/cdefs.hMark Salyzyn2014-05-021-0/+2
| | | Change-Id: I2da8a52e07cef0b749f7e60709536e98bd96660e
* libcutils: turn on -WerrorMark Salyzyn2014-05-011-11/+13
| | | | | | - Deal with some -Wunused / -Wunused-variable issues Change-Id: I28c23fb213382a392ec30935749fb359e072d664
* Added ashmem_get_size_region() function.Bjorn Bringert2009-06-021-0/+20
| | | | | | | This is needed by the MemoryFile changes in https://android-git.corp.google.com/g/2714 where it is used to find out whether a file descriptor refers to an ashmem region.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+94
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-94/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+94