From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id CFF9B3A00; Wed, 15 Jul 2026 10:00:20 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 905DB1E7A; Sat, 11 Jul 2026 20:14:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Flag: YES X-Spam-Level: *** X-Spam-Status: Yes, score=3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_PASS,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,UNWANTED_LANGUAGE_BODY autolearn=no autolearn_force=no version=4.0.1 X-Spam-Report: * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no * trust * [2607:f8b0:4864:20:0:0:0:112e listed in] [list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * [demiobenour(at)gmail.com] * 4.0 UNWANTED_LANGUAGE_BODY BODY: Message written in an undesired * language * [Languages detected: ro] * -0.0 DMARC_PASS DMARC pass policy Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by atuin.qyliss.net (Postfix) with ESMTPS id C91CD1EA0 for ; Sat, 11 Jul 2026 20:14:43 +0000 (UTC) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-7ff05e5d009so19679117b3.1 for ; Sat, 11 Jul 2026 13:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783800883; x=1784405683; darn=spectrum-os.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=V070w4qDjFX31KhAkFQIPv06MZGxsqvy14KO8uId5SE=; b=hnyK4PcVPkVQnyvo32Mu7aTjPROm41EB9+GWYjVD+Dxqt5vzNNEYO8k0/ouR/j8cxJ rveFb53qCn8+WiF9IQGItYoHk7AjS2hYrhsvbPyqGLEnYlgdbm1245a0QSJzO74m6+38 8wADYYMI0V2azsvkKpsy7V9xWDmZbpARis9No29kgTvuuzhY5+ed7/XFQgmtFajbzLRJ bOwaAGv1oHG9ZADyKYm4zFe//CW89efujV3lfv8SJoKh/jCgAYBm/5NCGTpYnsqH6KUZ zdmqcLn1lZO1hQDZErnS218AKcXDqqJAyQFhJ6m1lf/ivEp8DNmOCcvwJa9PbJOys5BE hg2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783800883; x=1784405683; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=V070w4qDjFX31KhAkFQIPv06MZGxsqvy14KO8uId5SE=; b=qXBTLIPlwfHNqrj3bsIWa9xLHkCJemKNmn54AizfxELA7iELhKcMHwXDURo4w+G1aG CUUBfyDbVQV1lFXb5K7X+Y3q08ohZAyzIMYDnli5psX3Hwo5ENFzn0gRYDuQ+q47nXFm nvEEdo+4Qsk547h5W1c77Gh3a8QYrObbpKVfLnYUFD2RfxBrKSX3WFYI6xhmIjCcR8Xl 8VkK2NZffpdk+xTOEtjYzpesjJJNXpKpqkPaq3XyOQtRY0W5INQVoUDhng/vDzI8pCv8 LmB3byPXU8oVpnhY/Apo1CVfw31SpM1byWI/4vvsllWgrY6BrbuLT75TY8jlyCLqqr4N ANhw== X-Gm-Message-State: AOJu0YzG0WqfniVdNW8d9VaolBQg9v9tjWEMfhFwKejzpI81/tOPnWJ9 232EdxNPP0kebPoZhQnDDc47dQUQ3ss7pHwhi9k0OyH4OntuAHThJS1woBQ6Bg== X-Gm-Gg: AfdE7ckyocC/WiUHLG4n7ffBJTIj41T+k25ZHIQ89G6GBk3+chiMRHyrTm2W1E+LOk7 uN6Nvx+VUJxAUauTSUC2Smun24PXcXeqjBQgNaagaj0QGdnofj8+pZlE+cg5Ytzql7efqIDRhbZ gcVVPdten4xEkK86SBl32S0WbNq5TFN3J2WzezL68Jdo85+y9Rz/jOnhF5kabcnpeIkU8JpcPZ9 iCXiX2+pcNGHfdZnpdlm6/mI/EZc2IjUmG6q0Rfjhd7Wz/qMf0xmF8saNL8syZwxF35qWXIBUV8 BndRXTPlYlVZO+lcpLhR4DTcJIQiW9KA9TK66U9tH607ODfjdWPN1V2BroQ/GMQjgq8Rl/vbDtG cydjIy6MBPNM1sm3kp5wYC0g+DjeCcztm3AHg9KW9HtmRZa9r/BBsGxiIVupVNa+KwWfC5thOYk VdnwBjirGiIHTmjwwG27xmikkJmw== X-Received: by 2002:a05:690c:6304:b0:7ec:592a:a75c with SMTP id 00721157ae682-81e90105711mr28562037b3.39.1783800882567; Sat, 11 Jul 2026 13:14:42 -0700 (PDT) Received: from localhost.localdomain ([185.98.168.14]) by smtp.gmail.com with UTF8SMTPSA id 00721157ae682-81e6c1e1d12sm77779347b3.33.2026.07.11.13.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jul 2026 13:14:41 -0700 (PDT) From: Demi Marie Obenour Date: Sat, 11 Jul 2026 16:12:22 -0400 Subject: [PATCH v3 18/22] host/rootfs: xdg-desktop-portal-spectrum-host: Run in cgroup MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260711-cgroups-v3-18-5cba61a20cba@gmail.com> References: <20260711-cgroups-v3-0-5cba61a20cba@gmail.com> In-Reply-To: <20260711-cgroups-v3-0-5cba61a20cba@gmail.com> To: Spectrum OS Development X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1783800724; l=2707; i=demiobenour@gmail.com; s=20250729; h=from:subject:message-id; bh=nXryscOCx5exA8WdYHrDuEcpLldVm67CsGEgqseJtrs=; b=Kxc3Ir+FQebYfYS5Lpy5zkxYq45/65uw08WER17tolj005F2c8IS613xo7BWBrqszU37Nb+WV aQwgusqOfzjDOAeN6NGqVvKKelrGTn33egRibOenV22wib9q+wsD3bM X-Developer-Key: i=demiobenour@gmail.com; a=ed25519; pk=X57Q4/YQDj9t4SBeKaDwvXYKB6quZJVx/DE2Ly2out0= X-MailFrom: demiobenour@gmail.com X-Mailman-Rule-Hits: header-match-devel.spectrum-os.org-4 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3 Message-ID-Hash: IITLSHP5Q5IGGEEOZXKYTUEWF3JEBU4F X-Message-ID-Hash: IITLSHP5Q5IGGEEOZXKYTUEWF3JEBU4F X-Mailman-Approved-At: Wed, 15 Jul 2026 10:00:19 +0000 CC: Demi Marie Obenour , Alyssa Ross X-Mailman-Version: 3.3.10 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Demi Marie Obenour --- host/rootfs/file-list.mk | 1 + .../template/data/service/xdg-desktop-portal-spectrum-host/finish | 1 + .../template/data/service/xdg-desktop-portal-spectrum-host/run | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/host/rootfs/file-list.mk b/host/rootfs/file-list.mk index 15e92bd32887beb547fc88d431c36b09b220c3ad..cf2b05c3265b27734dd29a72c5f687a46e16cae2 100644 --- a/host/rootfs/file-list.mk +++ b/host/rootfs/file-list.mk @@ -81,6 +81,7 @@ LINKS = \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/dbus/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/vhost-user-fs/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/vhost-user-gpu/finish \ + image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/finish \ image/etc/s6-linux-init/run-image/service/vm-services/template/finish \ image/etc/s6-linux-init/run-image/service/vmm/template/run \ image/lib \ diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/finish b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/finish new file mode 120000 index 0000000000000000000000000000000000000000..9e39002e3ae4063bdef05676efb55416020cf7aa --- /dev/null +++ b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/finish @@ -0,0 +1 @@ +/usr/bin/cgroup-setup \ No newline at end of file diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run index 909957b817136149dd01c3b98847238ecda8032d..d9df94b6c6b73d0ee385864691524cedd887a2e2 100755 --- a/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run +++ b/host/rootfs/image/etc/s6-linux-init/run-image/service/vm-services/template/data/service/xdg-desktop-portal-spectrum-host/run @@ -1,8 +1,8 @@ -#!/bin/execlineb -WS1 +#!/bin/execlineb -Wp # SPDX-License-Identifier: EUPL-1.2+ # SPDX-FileCopyrightText: 2024-2025 Alyssa Ross -importas -i VM VM +vm-service-run export DBUS_SESSION_BUS_ADDRESS unix:path=/run/portal-bus/${VM} -- 2.55.0