mirror of https://github.com/containers/podman.git
On FreeBSD, the path argument to shm_open is not a filesystem path and we must use shm_unlink to remove it. This changes the Linux build to also use shm_unlink which avoids assuming that shared memory segments live in /dev/shm. Signed-off-by: Doug Rabson <dfr@rabson.org> |
||
|---|---|---|
| .. | ||
| shm_lock.c | ||
| shm_lock.go | ||
| shm_lock.h | ||
| shm_lock_nocgo.go | ||
| shm_lock_test.go | ||