On 15 August 2018 at 15:14, Simon Ser <cont...@emersion.fr> wrote: > On Linux, try using memfd_create and file sealing. Fallback to > shm_open on old kernels. > > On FreeBSD, use shm_open with SHM_ANON. > > Otherwise, use shm_open with a random name, making sure the name > isn't already taken. > Thinking out loud:
I wonder if the next POSIX standard will finally standardise random/anonymous shm files. Be that shm_open+SHM_ANON (FreeBSD), shm_mk*temp (OpenBSD) or any other solution. -Emil _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel