labwc/include
Consolatis f5257fe37d [very wip] Add unprivileged wayland socket
Follow-up from
- #1003

This PR creates a second wayland listening socket
($XDG_RUNTIME_DIR/wayland-unpriv) when there is at
least one protocol blocked in rc.xml.

The blocked protocols are only blocked for the new
socket, the usual wayland socket allows all protocols.

The idea is to use the unprivileged socket for
bind-mounts in sandboxes and similar. Trusted
applications are running against the usual wayland
socket and thus are able to use privileged protocols
(e.g. layershell, screen recording, foreign-toplevel)
whereas clients within a sandbox are prevented to use
those protocols.

Related:
- #1002

This PR is very much work in progress.
- [ ] Solve TODO / FIXUP comments:
  - [ ] Add close-on-exec fallbacks for the wayland socket
  - [ ] Add lockfile for the wayland socket
  - [ ] Add close-on-exec for client connections
- [ ] docs
2023-07-27 14:43:25 +02:00
..
common osd: use theme->osd_border_width for focused item 2023-06-29 19:14:08 +01:00
config [wip] feature: Allow blocking wayland protocols 2023-07-26 02:42:02 +02:00
menu includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
xbm includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
action.h config: validate keybind, mousebind and menu actions 2023-07-05 22:20:18 +02:00
buffer.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
cursor.h dnd: refocus surface under cursor on drag-destroy 2023-05-28 22:17:29 +01:00
debug.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
decorations.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
dnd.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
idle.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
key-state.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
labwc.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
layers.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
regions.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
resistance.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
server-unpriv.h [very wip] Add unprivileged wayland socket 2023-07-27 14:43:25 +02:00
session-lock.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
ssd-internal.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
ssd.h ToggleKeybinds per window 2023-07-06 06:02:28 +01:00
theme.h ToggleKeybinds per window 2023-07-06 06:02:28 +01:00
view-impl-common.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
view.h view: move MoveRelative code from action.c and restore natural geometry 2023-07-24 00:55:08 +02:00
window-rules.h window-rules: support matchOnce attribute 2023-06-26 06:04:07 +01:00
workspaces.h action: support {Go,Send}ToDesktop 'wrap' option 2023-05-21 22:32:07 +02:00
xwayland.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00