mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-01 07:16:07 -04:00
server: Add a socket with an existing fd
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. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Cc: Sung-Jin Park <sj76.park@samsung.com> Cc: Sangjin Lee <lsj119@samsung.com>
This commit is contained in:
parent
87321d0f2f
commit
225830dcb8
2 changed files with 46 additions and 0 deletions
|
|
@ -131,6 +131,9 @@ wl_display_add_socket(struct wl_display *display, const char *name);
|
|||
const char *
|
||||
wl_display_add_socket_auto(struct wl_display *display);
|
||||
|
||||
int
|
||||
wl_display_add_socket_fd(struct wl_display *display, int sock_fd);
|
||||
|
||||
void
|
||||
wl_display_terminate(struct wl_display *display);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue