Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp327304rwl; Sat, 25 Mar 2023 03:04:48 -0700 (PDT) X-Google-Smtp-Source: AKy350Y0FcjUm11sH9yqCOBE9ioEpeJO1RXV2YnDb9HayYG0BbfxpszEzhS4AJrssUd572kzlpct X-Received: by 2002:a17:90a:35d:b0:237:9a13:5841 with SMTP id 29-20020a17090a035d00b002379a135841mr5909797pjf.3.1679738687905; Sat, 25 Mar 2023 03:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679738687; cv=none; d=google.com; s=arc-20160816; b=Gx25AGrWjz28EqgQyaCj2uE+Ez7VJPKqeB0rkss1ze6Knrdb421RZCrsuTRWe0vR+w LdL9y3NjStYXh5anIYFlG2xo74rbTI/0sX6Groe+5VAs3vqQblcvwUR3/+WB5MwbAKui iWupJg0UJ5PFdGfcD8IdBmVvtboJuAVF+9Rg+CE/mdT3ZZPSr0S+wtBy7qbQhxPyzT1o SaLphxKjOktcTbH9IkpKVKVIhgApneXebsGb7FCQHJg8zNVFTIAeoSHBN/udooPxWd4y Mb+dc2fu80vznDpEEFCxpz9xrLU7wk0zOZUC0Ct5nfPG+Oh+0vbxQrzRGVoWJCdr3vjT leNQ== 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=UYu9mBFmFQlyEDlPAUxOXfcr4GXsi8SOCJxlV7er4Mc=; b=uc9TKmrgXso61D6dqIuCrqKFhXcwBMRbHrtX0rp2wb2a8+LG38hIH9WqqJcMPBLtbR A1fujEeikAptrNb0+c5C1ErxKAms9vXMt5MSlaKwWIkfSMFT0UFJGxXnWFP130jEyPo2 y1rgDtcyQWEusX0j7hPw5GgO8DDYdKJtPa9HdCwnuI9S/VTabhuc2ceSW99bllrEfRT/ n7D1yAjY2VR2S0jdvzknb3eQRmZlFh1j90mD43HJSRepKDhtAxGGlM8gOoFHy/lPw4Zb tebbLQ0ThSeNIyoPN+4DU2Q4/ChAtzvCXqh/N7DYgEbKePikOs07l4jMhbVG/+uIwuLT 9YOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@coker.com.au header.s=2008 header.b="0wx9Q/FA"; 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 in20-20020a17090b439400b0023ef9514233si6111097pjb.116.2023.03.25.03.04.41; Sat, 25 Mar 2023 03:04:47 -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="0wx9Q/FA"; 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 S230085AbjCYJVn (ORCPT + 21 others); Sat, 25 Mar 2023 05:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229724AbjCYJVm (ORCPT ); Sat, 25 Mar 2023 05:21:42 -0400 X-Greylist: delayed 341 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 25 Mar 2023 02:21:40 PDT Received: from smtp.sws.net.au (smtp.sws.net.au [144.76.186.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89B0D9763 for ; Sat, 25 Mar 2023 02:21:40 -0700 (PDT) Received: from xev.coker.com.au (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id 2BCA5F38B; Sat, 25 Mar 2023 20:15:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1679735753; bh=UYu9mBFmFQlyEDlPAUxOXfcr4GXsi8SOCJxlV7er4Mc=; l=605; h=From:To:Reply-To:Subject:Date:In-Reply-To:References:From; b=0wx9Q/FAvls98PibiccwLbad9ot8RAK5DcV0tBJgui4YbvLdrFa9eJiHzHUPOJ+Mo Ke6wuUJAdailywI9IkeBLyb71TAlSOiypYEhCwYg11Uh7g8ePqnHvhwX1c4WqWaeTZ 45HWiJh1JDqyoyzSRNg7YC2Ekt9JjpSGlo4lydOg= Received: by xev.coker.com.au (Postfix, from userid 1001) id 70ED11D5D3CE; Sat, 25 Mar 2023 20:15:48 +1100 (AEDT) From: Russell Coker To: selinux-refpolicy@vger.kernel.org, Chris PeBenito Reply-To: russell@coker.com.au Subject: Re: [refpolicy3 RFC] Drop suffixes? Date: Sat, 25 Mar 2023 20:15:48 +1100 Message-ID: <4896093.0VBMTVartN@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=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Saturday, 25 March 2023 05:10:10 AEDT Chris PeBenito wrote: > I am considering dropping the suffixes from users, roles, and types. > init_t would become init, user_r would become user, etc. Even when the syntax prevents the compiler from being confused there is a benefit to avoiding user confusion. So having user_r:user_t change to user:user would be bad IMHO. 22 years ago this might have been justified by reducing RAM use or something but that doesn't apply now. What's the motivation for this? -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/