mirror of
https://github.com/containers/podman.git
synced 2026-03-18 06:38:49 -04:00
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>