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 6736AC6FD1C for ; Fri, 24 Mar 2023 18:32:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjCXSc1 (ORCPT ); Fri, 24 Mar 2023 14:32:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231902AbjCXScN (ORCPT ); Fri, 24 Mar 2023 14:32:13 -0400 Received: from markus.defensec.nl (markus.defensec.nl [IPv6:2a10:3781:2099::123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 669F221A3E for ; Fri, 24 Mar 2023 11:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=defensec.nl; s=default; t=1679682700; bh=jsKnjC4f0YB70Ov1IRNSzHhT1YtGbUlfRX+CEkOXJ3A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=S/sFB5Ila2DeZANilvTcJ9DKRWW9AaQdsMk2pzK1JRyoxVOc4ej08b4En2li1wgNL +rmF31XpQPTS+/VeLNwc5+hFCtSnHkRlGokCaYvBE9BiyWcVbMQrg2aQdnLV9MoACx f4G+QjZ/GNcpj51amCp6YE6dZ1zQ52wCQLp7EaY8= Received: from paulus (paulus.lan [IPv6:2a10:3781:2099::515]) by markus.defensec.nl (Postfix) with ESMTPSA id 0146456; Fri, 24 Mar 2023 19:31:39 +0100 (CET) From: Dominick Grift To: Chris PeBenito Cc: selinux-refpolicy@vger.kernel.org Subject: Re: [refpolicy3 RFC] Drop suffixes? References: Date: Fri, 24 Mar 2023 19:31:39 +0100 In-Reply-To: (Chris PeBenito's message of "Fri, 24 Mar 2023 14:10:10 -0400") Message-ID: <87zg82atmc.fsf@defensec.nl> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: selinux-refpolicy@vger.kernel.org Chris PeBenito writes: > I am considering dropping the suffixes from users, roles, and > types. init_t would become init, user_r would become user, etc. > > Thoughts? One thought I have is: might this in some cases conflict with keywords? i.e. is it technically possible? If the suffixes have no real use then I would probably drop them, provided that it is technically possible. I use suffixes in my policy but they are used for templates and they are generally also more descriptive. -- gpg --locate-keys dominick.grift@defensec.nl Key fingerprint = FCD2 3660 5D6B 9D27 7FC6 E0FF DA7E 521F 10F6 4098 Dominick Grift