Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1518167rwl; Fri, 24 Mar 2023 11:33:09 -0700 (PDT) X-Google-Smtp-Source: AKy350bduohSTge6xhYF8fKz32ShglWw4EEN7W3kxohy19fA8CuXkwhbACjLZabeOADlSIRdD+Rw X-Received: by 2002:a17:907:77d3:b0:92b:f019:d5eb with SMTP id kz19-20020a17090777d300b0092bf019d5ebmr3422485ejc.44.1679682789524; Fri, 24 Mar 2023 11:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679682789; cv=none; d=google.com; s=arc-20160816; b=KYvftSLNYbWYmAST5exlna4jREzGeBgk/bwHSaWq7SF/K7qVwfowTwk95bhMEAU18k ervG4fDXuE7SUpFb7N+NC+3yld0w4+IvD6bWhAgkiPDraW9ymRFsbBp6mzOgPAmr6kMs gSqBKvSyO0lYOyJUmX3lI8fV82IKu8HcckvtEpfkqxEfDq4hFDXfxOay1Qr9p0GSAOQn ZWe4wdsJx0Z2dqQmqFNyYdz/h0TJ9ZYHTS3v/t6STNwYWMsuP8boY0LhEA9qC0UeYtvq tbu5x3mkFxAAa1hAzYo6Oc3sOWA9icFaz/w4ZKBiBvcVlyziPToTj3hpLTrtvqYJsYEY 0RSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=FmshS6Nn8Z1YW3XL/L2NGohZ8FFsGhyMSrAA0HXKD78=; b=rkOrOho/l+l0IXz7zy/69PaSTf/cHXGd2Ve2gBr3yp/s34CKWMlvhsHDoBGelcVtnZ hRFAlfgquU32Mgwqii20YPNDFVQPOtAZsrWgsLPxLcrjGUe4yZmMfpvrTDjyBw27XqyK dQFsW3LK7Kn3keFxcOTL3wf9zSoP9ov9J42NFfjR6HfNrHkuW4aEbg8tAn03q+ZwKGc4 kapnwC/ixpJncg/lSLINDpB5MyB3YqFpG1KDO7L6WT627TKF0kHE7wiiC9/dcO289U8x muj4NEwkjNFFX558O4ueFJ5CgtN7TgNOf+xFkaQWONr7TGmrNBUMCsTVGTiTsIQ7bHmD LNDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@defensec.nl header.s=default header.b="S/sFB5Il"; 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=defensec.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne38-20020a1709077ba600b008bded90af7csi27680166ejc.531.2023.03.24.11.33.02; Fri, 24 Mar 2023 11:33:09 -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=@defensec.nl header.s=default header.b="S/sFB5Il"; 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=defensec.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjCXSc1 (ORCPT + 21 others); 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 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,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 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