server: Add a socket with an existing fd

Graphics / Wayland / Wayland - Bryce Harrington [osg.samsung.com] - 18 December 2015 13:31 UTC

This adds functionality to allow system-level control over handing out file descriptors for sockets, to allow tighter security when running a Wayland compositor under a Wayland session server. Allows writing socket activated Wayland servers.

225830d server: Add a socket with an existing fd
src/wayland-server-core.h | 3 +++
src/wayland-server.c | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)

Upstream: cgit.freedesktop.org


  • Share