Use abstract sockets for lttng-consumerd UST shared memory files
Abstract sockets (unix(7)) are not tied to the filesystem, and are available since Linux 2.2.
Those are Linux-specific.
Those are the same as regular unix domain but their first character of path is NULL. They have the benefit of not requiring unlinking of files left behind.
We could use those abstract sockets in lttng-consumerd on Linux.
Updated by Olivier Dion about 1 year ago
Ideally we would like to have something like memfd_create and pass the resulting file descriptor around.
This would circumvent the limitation imposed by containers on /dev/shm.
However, memfd_create is not necessary available (kernel 3.17 and glibc 2.27).