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 24DEA154F0; Tue, 09 Dec 2025 08:56:52 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 42E7015550; Tue, 09 Dec 2025 08:56:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-a5-smtp.messagingengine.com (fout-a5-smtp.messagingengine.com [103.168.172.148]) by atuin.qyliss.net (Postfix) with ESMTPS id 462CD15547 for ; Tue, 09 Dec 2025 08:56:47 +0000 (UTC) Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 1B4EBEC0622 for ; Tue, 9 Dec 2025 03:56:44 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Tue, 09 Dec 2025 03:56:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1765270604; x= 1765357004; bh=cBrvupSJUw8GH5oma67PwVbcRcBIEAlfKbmSwz8BHzU=; b=c fZ/pXqwFxU/W9dDMkItLGYQUdELLVvvXJMcgHV7ehd6WNgPApDRo5KxCknWq3Nme NMskCj225VEmRyZ9vxgItSwYT8wL5MwSf/rd58go6O4RCRjuU3AwBmR0z0uTWM0h pDwXcBVWJD/LYFTsN28e7vDxJmASDnXuTKCTQ3yqVtJ1XZ5nv3aOGVl6BmvqbvI0 6ohyeM4OS13lpqavqm/sDXbqsmfwpJSuRPwxGRMQGeS2DEjAFJI0Dkb3KIMAJxN0 69F5OyNg8Bj7K+SS8uYbBnIEcrzoUT4GLCdpFeuOpQcU7QL0//uvlN4oC079IfUm 3Oo8cxYSJDaKHVspxYrGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1765270604; x=1765357004; bh=cBrvupSJUw8GH5oma67PwVbcRcBI EAlfKbmSwz8BHzU=; b=oyahORRW99R40e9Sh+R44aNvCn2OLoHsX7VsiulSIWgZ RDJRSSsvo/yASFpaelUK1bDhLBZ6X85xImwkK3uA3XnGVtlHvno5txTEntWlBbcE kI9QfJR6Lp664gSnAG0wrwy/jOdB0XSBUQLgGJL5JEHBR05zCv1DZNYmNQkGdLRN 25BAdnHTwScG4ZeV3eovnrCV1ouSixalmQX6cX162cmMXayzaOKdKz1ix+BgTzfJ Rl99qgcpV9lsLDbJnQWPsThKvw7Yv83l9czWzgIPb/nzpHCBZ0It7btLLf0iJWpo 8k812cIqkxlKRlNd9hPe8TQEvmZJc8HQE4TQBAtavA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduledugecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertdertd dtnecuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdrihhsqeen ucggtffrrghtthgvrhhnpefgfedukedvleeileeludefveehgeelgfegvddujedvtdffue euveffheeljeekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehhihesrghlhihsshgrrdhishdpnhgspghrtghpthhtohepuddpmhhouggvpe hsmhhtphhouhhtpdhrtghpthhtohepuggvvhgvlhesshhpvggtthhruhhmqdhoshdrohhr gh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 9 Dec 2025 03:56:43 -0500 (EST) Received: by fw12.qyliss.net (Postfix, from userid 1000) id 8F6075EFA73A; Tue, 09 Dec 2025 09:56:32 +0100 (CET) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH 5/5] host/rootfs: add wayland group Date: Tue, 9 Dec 2025 09:56:28 +0100 Message-ID: <20251209085628.603316-5-hi@alyssa.is> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251209085628.603316-1-hi@alyssa.is> References: <20251209085628.603316-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: HVRFLMZWV6YHWU4KFVM3XNO4EWEDKDEO X-Message-ID-Hash: HVRFLMZWV6YHWU4KFVM3XNO4EWEDKDEO X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; 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; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This will allow clients running as unprivileged users to connect to the compositor. Signed-off-by: Alyssa Ross --- host/rootfs/image/etc/s6-linux-init/run-image/etc/group | 1 + host/rootfs/image/etc/s6-rc/weston/run | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/host/rootfs/image/etc/s6-linux-init/run-image/etc/group b/host/rootfs/image/etc/s6-linux-init/run-image/etc/group index e3ade46..fe72eb7 100644 --- a/host/rootfs/image/etc/s6-linux-init/run-image/etc/group +++ b/host/rootfs/image/etc/s6-linux-init/run-image/etc/group @@ -13,3 +13,4 @@ disk:x:11: cdrom:x:12: tape:x:13: kvm:x:14: +wayland:x:15: diff --git a/host/rootfs/image/etc/s6-rc/weston/run b/host/rootfs/image/etc/s6-rc/weston/run index aa1e7b6..7cb182f 100644 --- a/host/rootfs/image/etc/s6-rc/weston/run +++ b/host/rootfs/image/etc/s6-rc/weston/run @@ -20,4 +20,9 @@ importas -i home HOME cd $home if { udevadm wait /dev/dri/card0 } unshare --cgroup --ipc --net --uts + +s6-envuidgid root +s6-envuidgid -g wayland +s6-applyuidgid -Uz +umask 002 weston -S $WAYLAND_DISPLAY -- 2.51.0