Skip to content

Add a separate notification-daemon

For sandboxed apps, permission to talk to org.freedesktop.Notifications looks innocent enough. However as all exported services share the same connection to the session bus, that permission actually grants an app access to any shell D-Bus API.

While we want apps to use the notification portal, it is still common for apps to use libnotify, raw D-Bus calls or even notify-send.

We don't want to give those apps a way to circumvent most of the sandbox restrictions, so move the FdoNotifcation service to a private name. Then add a small service that exposes the Fdo notification API under the well-known name, and forwards any requests to the actual implementation in the shell.

Edited by Florian Müllner

Merge request reports