Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-05 | util/shm: add allocate_shm_file_pair | Simon Ser | |
This function behaves like allocate_shm_file, except it also returns a read-only FD. This is useful to share the same segment of memory with many Wayland clients. | |||
2018-10-28 | util: use shm_open for in-memory files | emersion | |
shm_open is a POSIX function creating an in-memory file. Using it simplifies the code and removes the dependency on XDG_RUNTIME_DIR. The only downside is that we need to generate a random name for the shm file. |