Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2815442rwl; Mon, 27 Mar 2023 05:49:29 -0700 (PDT) X-Google-Smtp-Source: AKy350ZHnCV99s58gqAn0qG63uxFHR19QKZzt6hqqkGB8rja0huNAWMzCZBBmfVvk5q5rBphxyd1 X-Received: by 2002:a17:906:fb08:b0:8b1:2d0e:281 with SMTP id lz8-20020a170906fb0800b008b12d0e0281mr12325221ejb.18.1679921369711; Mon, 27 Mar 2023 05:49:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679921369; cv=none; d=google.com; s=arc-20160816; b=gCCD1obnV17IhZ4lZGVuM6jl5eavtxwfDqHOyPQ10/A6db+NxXiVugr2YnCUk0sMyy XvygKwAh6qHupaQlgZpwxMzPAaDcMLY9VMHjOx7ZYD8n8WUCDL6xBhPyAZAfvI9IBwfb ND9R2pNZ4rggMaKZxrwX0lupXRXdgWx22coS+VjE8wzcqbmLJG4rawVLC2GwHheaNkpP d+V65z+vBe7HzIHEBwODbAdWQSjg8qx8JeimEOSr5SsWKIAeXA7jxy6SpXxuToYvZwr7 TpvERLGIFahQ7gaJ1G9BISC0RZYpFRXHKBZeP4WchmuoBzq0hplcd529O8APgGJUtuYP AACA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature:dkim-filter; bh=Ho/xr6gyItdegCsqcMwuBWE9bc9//kkHgfnxMZNNi8o=; b=zqfqPS4g10ovLpY39M5Vix3uPwQBIIBsp5YPAb4y8+wSR5K/YT/Yhi4c+YTyvHtajz D7mPKeDQEtSeqyrwNQoR26Fcq8FMT/blM3d7IAHj7WamtMkE0yrBOcqvmwRf9qiL5nPp iz8KU5RonA10a7eAY6ReebRxHf6PsLswPc4qwA5vjyxK7IXwAe1sjdYQgjI3xIRuzPFK QSEgoqmnwYopoIGzJE6/boYk0w73DxVXIm9WhVnL25BmYSP6lAQuEros4Fofud6VXDgp qEP3riCAa4wCDQBd7DVXCfnG7cuZVaSpQ1GBTls0a9H3T1dhUmWenjBqd3omJCKyjpEl m0Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=cGK+YA1j; 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=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b23-20020aa7cd17000000b004bc099efbc4si30554203edw.630.2023.03.27.05.49.20; Mon, 27 Mar 2023 05:49:29 -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=@linux.microsoft.com header.s=default header.b=cGK+YA1j; 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=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229610AbjC0Mc5 (ORCPT + 21 others); 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 X-Spam-Status: No, score=-17.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 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