summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/shmunlink.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-28cpukit/posix/src/[p-z]*.c: Change license to BSD-2Joel Sherrill1-3/+22
Updates #3053.
2020-08-11posix: Only check shm_unlink obj_err if necessaryKinsey Moore1-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
2020-04-16Canonicalize config.h includeSebastian Huber1-1/+1
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2018-12-11posix: Fix shm_unlink()Sebastian Huber1-1/+10
This function is untested.
2017-05-05posix/mman: add mmap support for shm objectsGedare Bloom1-2/+2
Update #2859.
2017-01-13posix: shared memory supportGedare Bloom1-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.
2017-01-13posix: add stub implementations for mman functionsGedare Bloom1-0/+26