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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18E57C6FD1C for ; Sat, 25 Mar 2023 09:21:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230085AbjCYJVn (ORCPT ); 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" 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/