From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F44BC433DB for ; Thu, 21 Jan 2021 00:31:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F099923772 for ; Thu, 21 Jan 2021 00:31:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730159AbhAUAaG (ORCPT ); Wed, 20 Jan 2021 19:30:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403770AbhATXTC (ORCPT ); Wed, 20 Jan 2021 18:19:02 -0500 Received: from smtp.sws.net.au (smtp.sws.net.au [IPv6:2a01:4f8:140:71f5::dada:cafe]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EA23C06138C for ; Wed, 20 Jan 2021 15:18:19 -0800 (PST) Received: from liv.coker.com.au (unknown [103.75.204.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: russell@coker.com.au) by smtp.sws.net.au (Postfix) with ESMTPSA id 3CF7117817; Thu, 21 Jan 2021 10:18:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1611184696; bh=rLx+2LYnwPnz5G1ENvogPhJcEjd7Y9vqJyo8j7kXeGQ=; l=696; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vz0dan08JqA+Vt8bpwnKE5Nl4VBkZMaULY//bJ9GyD/UDIgll9i0zgEjVTdR6z5Bj rDCSi1O7iM9ByYQbAnR9PMk44NW9xqQ/WHW5xdhUHw84UPqpRJPSMrXCMCuhClcSA6 o1v+w94y2+Z6F12Q5JD7R0Mbq1KxA9bOE3CHFIUI= From: Russell Coker To: Dominick Grift Cc: selinux-refpolicy@vger.kernel.org Subject: Re: [PATCH] misc apps and admin patches Date: Thu, 21 Jan 2021 10:18:11 +1100 Message-ID: <38369021.nZfMU4C0An@liv> In-Reply-To: References: <10140498.mdnUOP6vMp@liv> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On Thursday, 21 January 2021 2:06:25 AM AEDT Dominick Grift wrote: > >> Can you explain why you added this? > > > > Apart from the obvious that some program wanted it, no. I'll remove that > > bit and add it again with a note if it's necessary. Did you like the > > rest of that patch? > > Yes and thats my beef with this. "some program wanted it". sysadm_t is a > shell domain. Any programs that need this should, in my view, ideally be > targeted. If you dont want that then use unconfined_t instead and be > done. > > I dont want sysadm_t to become a "drunken unconfined_t". Fair point. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/