Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp4097215pxb; Sun, 27 Mar 2022 12:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAbLeS87wbS0hE7WobzDOtXQh4pHO0heYlZXWGA79/jS+NqZfIXA927D1Sz93Ovc5UP/wN X-Received: by 2002:a4a:4f4f:0:b0:320:eccb:7309 with SMTP id c76-20020a4a4f4f000000b00320eccb7309mr7677197oob.44.1648407692403; Sun, 27 Mar 2022 12:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648407692; cv=none; d=google.com; s=arc-20160816; b=IlnCPvrniJ5y+6SwSb58uZoqOADDUwfIhhqXex+q4ubEwhOWG5BUTtmkHjXe+26T9r InRnReJAsGso2BgASRrtwllLydEtbD0jZk9CSv11YX9qDMxMVwiCnFq37mxGh1Qsoeyw DiUmlHZQ6gaQdippKWrLVjIN7g1H/9+m81dc5wzT2+nTmeRfIfDVbjfTFV+KGAvrDW2F WjITtY1nqTU8g6EDPwrHYyTSwSYvCuuMW/jsYT1kkmqdyfOskDDCXJyg1uyBwjhjfv6m eSdU4T4eAnIr35Dju0p1Cz9BWqnBsfDKBzqcZuHJ8e92Kv5yG0kFz66FmeHJDYtbWHa+ 7T+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:reply-to:to:from :dkim-signature; bh=GdL+EvQ4VLH3rmBy5aHX91qOvxV5aiacNMQrW9YYcUM=; b=b1wj23MQIT7FpUEng3wcr9u4pW2Cnla+HwRMp/p4vmls0mONR0CSwQlfv3Ylgupo0V nQJePHI7WnnTuh3P5VxF6Ee2CCRhf5eaDoJSPvEIL4kJsRd8lbzc7a/d5Fx5m98TCBGK ndc4fM65Rz5x//uT8u/ZHK+tAOIP/YQMcQrPfXjpN00/9hVbThfz4PZ/QuSj6SUUSDvf JIdFmMimQ59TBC27SY4fK+gPwCkRaLBFp1M1tOI5jnw31a9jTOrtto0oXwK9cIiCnLwW d4BvbbgFQPqIzGZTiwXWTdZyVrj9drohAynzJZzuFS4LLDaJZrodV6YayhHbMqKtePuj kEMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@coker.com.au header.s=2008 header.b=pybZgMPv; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=coker.com.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cv19-20020a056870c69300b000ddfc056802si7397543oab.130.2022.03.27.12.01.25; Sun, 27 Mar 2022 12:01:31 -0700 (PDT) Received-SPF: pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@coker.com.au header.s=2008 header.b=pybZgMPv; spf=pass (google.com: domain of selinux-refpolicy-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=selinux-refpolicy-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=coker.com.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbiC0Loh (ORCPT + 23 others); Sun, 27 Mar 2022 07:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229922AbiC0Loh (ORCPT ); Sun, 27 Mar 2022 07:44:37 -0400 Received: from smtp.sws.net.au (smtp.sws.net.au [IPv6:2a01:4f8:201:1e6::dada:cafe]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EB1148324 for ; Sun, 27 Mar 2022 04:42:58 -0700 (PDT) Received: from xev.coker.com.au (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id 48732EBB8; Sun, 27 Mar 2022 22:42:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1648381375; bh=GdL+EvQ4VLH3rmBy5aHX91qOvxV5aiacNMQrW9YYcUM=; l=1111; h=From:To:Reply-To:Subject:Date:In-Reply-To:References:From; b=pybZgMPvc0/GV3jZc3R/UKuIfols3y+b5Ru37fh+71lOvj2swTFh39fSGA0j28OR6 ik+gKhJhRMFopGaIF7o2frLVkC0BaOtFkedb0sVvRpLMDXaIK/a6BZuv4xO9X52r4S kGqZWggirN4NGpOQLseOlJJtwLt++fehmK8AOWzA= Received: by xev.coker.com.au (Postfix, from userid 1001) id C5867179CFBE; Sun, 27 Mar 2022 22:42:50 +1100 (AEDT) From: Russell Coker To: selinux-refpolicy@vger.kernel.org, Chris PeBenito Reply-To: russell@coker.com.au Subject: Re: [PATCH] new sddm pam patch Date: Sun, 27 Mar 2022 22:42:50 +1100 Message-ID: <3136581.m74T952WcD@xev> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On Friday, 18 February 2022 00:48:44 AEDT Chris PeBenito wrote: > > +# for sddm to use pam for greeter, sddm greeter needs execmod > > +allow xdm_t xdm_tmpfs_t:file execmod; > > + > > # Run Xorg.wrap > > can_exec(xserver_t, xserver_exec_t) > > > > Index: refpolicy-2.20220217/config/appconfig-mcs/seusers > > =================================================================== > > --- refpolicy-2.20220217.orig/config/appconfig-mcs/seusers > > +++ refpolicy-2.20220217/config/appconfig-mcs/seusers > > @@ -1,2 +1,3 @@ > > root:unconfined_u:s0-mcs_systemhigh > > __default__:unconfined_u:s0-mcs_systemhigh > > +sddm:xdm:s0 > > Did sddm:system_u fail? Yes, there's several programs that end up in the wrong domains (or try to) if you do that. > If we must have a new seuser, please place it in > the xserver module. The build system supports declaring users in modules. OK, that's in the next version. > The changes for seusers changes for standard and mls are missing. OK, done that too. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/