Actions
Feature #1287
openUse abstract sockets for lttng-consumerd UST shared memory files
Start date:
10/13/2020
Due date:
% Done:
0%
Estimated time:
Description
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 over 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).
Actions