summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/shmunlink.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* posix: Only check shm_unlink obj_err if necessaryKinsey Moore2020-08-111-22/+23
| | | | | | | | | | In the nominal case checked by spsysinit01, obj_err is unmodified if _POSIX_Shm_Get_by_name returns non-NULL. In the case of shm_unlink, this means an uninitialized value is passed into the switch and it appears tests using it were passing by virtue of the stack having the right value on it in most cases. This now checks obj_err only if _POSIX_Shm_Get_by_name returns NULL. Close #4016
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* posix: Fix shm_unlink()Sebastian Huber2018-12-111-1/+10
| | | | This function is untested.
* posix/mman: add mmap support for shm objectsGedare Bloom2017-05-051-2/+2
| | | | Update #2859.
* posix: shared memory supportGedare Bloom2017-01-131-2/+28
| | | | | | | | | Add POSIX shared memory manager (Shm). Includes a hook-based approach for the backing memory storage that defaults to the Workspace, and a test is provided using the heap. A test is also provided for the basic use of mmap'ing a shared memory object. This test currently fails at the mmap stage due to no support for mmap.
* posix: add stub implementations for mman functionsGedare Bloom2017-01-131-0/+26