Re: [PATCH wayland] cursor: Use memfd_create() when available

2019-02-16 Thread Simon Ser via wayland-devel
On Saturday, February 16, 2019 4:35 PM, Emmanuel Gil Peyrot wrote: > This (so-far) Linux-only API lets users create file descriptors purely > in memory, without any backing file on the filesystem and the race > condition which could ensue when unlink()ing it. > > It also allows seals to be

[PATCH wayland] cursor: Use memfd_create() when available

2019-02-16 Thread Emmanuel Gil Peyrot
This (so-far) Linux-only API lets users create file descriptors purely in memory, without any backing file on the filesystem and the race condition which could ensue when unlink()ing it. It also allows seals to be placed on the file, ensuring to every other process that we won’t be allowed to