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 547BAC76195 for ; Mon, 27 Mar 2023 12:32:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229610AbjC0Mc5 (ORCPT ); Mon, 27 Mar 2023 08:32:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229887AbjC0Mc4 (ORCPT ); Mon, 27 Mar 2023 08:32:56 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D711C19AB for ; Mon, 27 Mar 2023 05:32:55 -0700 (PDT) Received: from [192.168.254.22] (unknown [68.33.139.110]) by linux.microsoft.com (Postfix) with ESMTPSA id CEA9D20FD893; Mon, 27 Mar 2023 05:32:54 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com CEA9D20FD893 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1679920375; bh=Ho/xr6gyItdegCsqcMwuBWE9bc9//kkHgfnxMZNNi8o=; h=Date:Subject:To:References:From:In-Reply-To:From; b=cGK+YA1jjWfZDxnrMdhN+Ar0jjEhLd0EANyyNjthNLXm4cQ7mu3FOMsRghsrAK+Yz 59Lt9e4ZUXXAdE5DsFGq8KQJ6xHbr5vAv7dIaKf5XCcjAgk90wkAurRUhOPZ0/y5Nl ExshoJJBL5kXWme0FvXvtrbl7uvlo4VIhR4DHZNw= Message-ID: <14aa07c3-5517-9855-5273-71ad1bef17df@linux.microsoft.com> Date: Mon, 27 Mar 2023 08:32:53 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [refpolicy3 RFC] Drop suffixes? Content-Language: en-US To: russell@coker.com.au, selinux-refpolicy@vger.kernel.org References: <4896093.0VBMTVartN@xev> From: Chris PeBenito In-Reply-To: <4896093.0VBMTVartN@xev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org On 3/25/2023 05:15, Russell Coker wrote: > 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? Since refpolicy3 is a major change, I've been reexamining past decisions. Now is the time to make significant changes. -- Chris PeBenito