Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9ED9825A2B5 for ; Wed, 6 May 2026 08:17:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.67.36.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778055457; cv=none; b=Ma+mux8iG8M1Ffvy7/Ptl6yXV6umadp/tVJW2rW017+iEYskAtL6bYs/mEe4iiWQOaDGQup0740Xs7SLLkK0kkRSwlBVca0kwA3eHoNxRxicGreBAtUy34cpJl0EizE/PRnpPqH+KKQrjjj38ovJevZzPTROXx7V6sO04aLQbnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778055457; c=relaxed/simple; bh=V2IQKUYXzEyqfoh6MI3HxB2VqO9YbNz3MPxOI/+Ko9A=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Cc:Subject: In-Reply-To; b=IeZs8D5/kpuB3OVTm+AACWmos50scLw6wSHUGZteGNSXU9xY7FD1YtNpsv/+7VEe09q+rhbqgJFSkq4NM6IHF8+JoAjkLpsZbt8lfM4t5w5fSspJ5J54PqtVtnw7deX508zjQXb69q+jmtiIaBiWAa2ac6osjcGjUXbxTP+RjT0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.uk; spf=pass smtp.mailfrom=posteo.uk; dkim=pass (2048-bit key) header.d=posteo.uk header.i=@posteo.uk header.b=rfyLO+/Q; arc=none smtp.client-ip=185.67.36.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=posteo.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=posteo.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=posteo.uk header.i=@posteo.uk header.b="rfyLO+/Q" Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id D0A1324103C for ; Wed, 6 May 2026 10:17:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.uk; s=2017; t=1778055453; bh=V2IQKUYXzEyqfoh6MI3HxB2VqO9YbNz3MPxOI/+Ko9A=; h=Mime-Version:Content-Transfer-Encoding:Content-Type:Date: Message-Id:From:To:Cc:Subject:From; b=rfyLO+/Qmuyz7p2qykHK4EyNZGrkTMFGXER5rrvxTgOJVgia2tE99YhoNbVvnHqQ0 QSpRPDwcZEMAO2WSX6uCcN7T/Jkbk8VnE+PRU9R7c/7w8n3uk0vfA4F5Uh2nl5UM03 W3f3tVp6UWnIObwEAusFAd3FkCEejwZUuXgbNZJ8Q4z+nTYGwtmoUzUjVMOsijq9Lk 8rew0H/4ZWaejGLtUhiiUOx4+zAdNO20mSRdKJty+nrBHzFAySQMbjwfye28tShhs7 I+v4HxlP0ctPa3QUW9cl1r5KI7flS33IgS5x6WOAmf/K1MS2fa0gkQIVFPqXfmHZd5 OJTdJXgkDibEw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4g9St51wk0z6twY; Wed, 6 May 2026 10:17:33 +0200 (CEST) Precedence: bulk X-Mailing-List: selinux-refpolicy@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 06 May 2026 08:17:33 +0000 Message-Id: From: "Rahul Sandhu" To: Cc: , Subject: Re: xserver policy In-Reply-To: <14459900.RDIVbhacDa@dojacat> Hey, As for the Wayland policy module, I've been looking into various compositor= s on other desktops to see how they function and what they need. xdg-desktop-por= tal specifically has given me a bit of grief whilst designing, and many of the = big desktop environments make use of it. As for xdm_t specifically, I have been looking into that myself. Russell ma= kes a good point about the xserver module being required for a lot of things th= at are not really related (e.g. fonts and mesa labelling iirc). I've been playing around with greetd at present as it's small enough that i= t should be a good login manager (that's the "new" term) to design with. It i= s also noteworthy that plasma has a new login manager in the works too which = is a fork of sddm, so that might provide some opportunity for design there too= . However, I would personally be opposed against dropping xserver entirely, a= t least for now. There are still a couple desktops using it, and I think this= is something that should be taken with caution. However, dropping XACE support= if it adds significant complexity seems reasonable to me right now. The other thing to consider is Xwayland. I don't personally use it (or Xorg= ) at all myself, however I do know that some stuff still requires Xwayland and i= t is very common as of 2026. It might be worth seeing if there is some bits that= we can share between a future xwayland_t and xserver_t, although that may turn= out to be a fruitless endeavour, I'm not entirely sure what Xwayland entails ye= t. --=20 Rahul Sandhu