Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp763185pxb; Wed, 16 Feb 2022 04:01:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxO0ZvvOV/RCaK8BxoRxN6sNjBnUBAmWkLzKIWP0sRRUysFWCiIY9I48csDPRXgMSRQvGEu X-Received: by 2002:aa7:ce08:0:b0:410:a996:d6a5 with SMTP id d8-20020aa7ce08000000b00410a996d6a5mr2436850edv.303.1645012891257; Wed, 16 Feb 2022 04:01:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645012891; cv=none; d=google.com; s=arc-20160816; b=q78g12oEx+iiYnxAaDec2kvNFUZXcyVTl8dtykQOe8QUY/66n/ig/KbMor2AIYItB8 M+9y61bRgadj9CcKbbOr3oCYlek+sPB7PRCkmN73AU7+1yRBG+SoMIELlMTedNtco7f8 Io9VjQnhnHnRzIWfadKo3IRVLGMLC2jDtLgywZNdzCKA41rdU+/2ExdPZJcQhR6W6qNw gCAZghSMB6Ho13748uZQyznVbFko638vi+fiTmNBaHNivOpMNOJFq8ukR/bkHASmwfJx OGGXnrOO63at1mviElmmChfVEHw9FdbFf+ED4ShfRev/V1MoRqmSM4qvoeg/Qkg4XFrl uDrQ== 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; bh=bK49ldDsp4xn497wkafWOsQP4STiyn3ItFX6sX6nd7c=; b=tzhm0ZsVYEBTmdmOJNEcBNEVYAFbqD+JrZ4HcEsEC4/7Q771Hyev6tqidpbF9+6qC+ YmVFc2QTnOJuTOVEj1bfE6ivnw0jhclgaFCN+960GWQ9Quz6l6WoR+XHbjGkOKHkbqeM Vd6ujZqknw+q0IfWGF74BlJt+wOQ/8/tcGtDrquyo1en7HtxMZqM+iMDe8zSgYHrUaA1 Xkxe8Pos8H59pheg9/e0tJ9JbnZsJaYf2QBvTSHbKC/7KhReUa45sKSAj7Kz+8nDBMZO kW3tjjetjJbb4bV8xKtJDKh57ls+RP2mV7rO2mdMm0pqqc6SZW/wk8994QQ/xd/ZrABC 3wkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=XKgWb2v6; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ieee.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp16si13506967ejc.90.2022.02.16.04.01.23; Wed, 16 Feb 2022 04:01:31 -0800 (PST) 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=@ieee.org header.s=google header.b=XKgWb2v6; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ieee.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232744AbiBPLzS (ORCPT + 22 others); Wed, 16 Feb 2022 06:55:18 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232740AbiBPLzS (ORCPT ); Wed, 16 Feb 2022 06:55:18 -0500 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB0A425B2FC for ; Wed, 16 Feb 2022 03:55:05 -0800 (PST) Received: by mail-qt1-x82d.google.com with SMTP id bt3so1855706qtb.0 for ; Wed, 16 Feb 2022 03:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=bK49ldDsp4xn497wkafWOsQP4STiyn3ItFX6sX6nd7c=; b=XKgWb2v6VTcnJ3uqr/sxw5wUNe0EL0jV2iA2o3EMdj48nViAYfTakXV0J+oe7URwnQ lwJjN2GYri4Nvsys/CTagQz2KIswQixLXf8DeGnNBaY6qWmTDZO8zDHJCLIT5VoBDtr5 yQP2UGzM0V81iM99vsVxAxSE5KAeNtLVtYqsg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=bK49ldDsp4xn497wkafWOsQP4STiyn3ItFX6sX6nd7c=; b=7VxlTD2FwYciY/iA/UwsR7L+ue9uTN8fCPpi1Ihs6KEjMBVpAA5HQbFJJG//r6ve9r uUrcnd07F9wruIFrAbhKHf41IkZAEc6lxbw4BtpmM276r3ZCiU34DLs6alVydmPTvJlp aC19O7KLR8HIpZo+tsEYUoUMFhRLHMoCS/tN6SdOXh8Y1NyxDXG3zPisIT+XE2ACrhhb qX1l4CDoYB3qHLmLTLf/DEaKPwwrbgWDREhY3X/hsASL6I5GInYqfbEfY+eiEt/YaNSr 12BfQ9qEytozYRhT+jqB9M9+9M7D417GIOmFssm4/8VneqOF07/0DP+u2pUea/TZ8Cxh 9Rjg== X-Gm-Message-State: AOAM533TUfcVNNP1XqM2pJbc4Mce2mCRQ5fEOD/VnuKfTNZ/e5DwqBvg 0YWImQxpdPqEo9XDYMVTVB6jYyKW8qQDBw== X-Received: by 2002:ac8:5888:0:b0:2c7:42b9:b19f with SMTP id t8-20020ac85888000000b002c742b9b19fmr1644693qta.125.1645012504915; Wed, 16 Feb 2022 03:55:04 -0800 (PST) Received: from [192.168.1.126] ([72.85.44.115]) by smtp.gmail.com with ESMTPSA id k9sm18421421qkj.31.2022.02.16.03.55.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Feb 2022 03:55:04 -0800 (PST) Message-ID: <41cb2ddb-adf3-3138-cdbe-c431e85255b1@ieee.org> Date: Wed, 16 Feb 2022 06:54:51 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] remove aliases from 20210203 Content-Language: en-US To: Russell Coker , selinux-refpolicy@vger.kernel.org References: From: Chris PeBenito In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 2/13/22 05:10, Russell Coker wrote: > This patch against version 20220106 removes the typealias rules that were in > version 20210203. If we include this now then the typealias rules in > question will have been there for 3 consecutive releases. But if you think > we should wait until after the next release that's OK. > > It's obvious that this patch should be included sooner or later, I think now > is a reasonable time. Merged. > Signed-off-by: Russell Coker > > Index: refpolicy-2.20220106/policy/modules/services/acpi.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/services/acpi.te > +++ refpolicy-2.20220106/policy/modules/services/acpi.te > @@ -27,7 +27,6 @@ type acpid_log_t; > logging_log_file(acpid_log_t) > > type acpid_runtime_t; > -typealias acpid_runtime_t alias acpid_var_run_t; > files_runtime_file(acpid_runtime_t) > > type acpid_tmp_t; > Index: refpolicy-2.20220106/policy/modules/services/clamav.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/services/clamav.te > +++ refpolicy-2.20220106/policy/modules/services/clamav.te > @@ -41,7 +41,6 @@ init_script_file(clamd_initrc_exec_t) > > type clamd_runtime_t; > files_runtime_file(clamd_runtime_t) > -typealias clamd_runtime_t alias clamd_var_run_t; > > type clamd_tmp_t; > files_tmp_file(clamd_tmp_t) > Index: refpolicy-2.20220106/policy/modules/services/exim.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/services/exim.te > +++ refpolicy-2.20220106/policy/modules/services/exim.te > @@ -55,7 +55,6 @@ type exim_log_t; > logging_log_file(exim_log_t) > > type exim_pid_t; > -typealias exim_pid_t alias exim_var_run_t; > files_runtime_file(exim_pid_t) > > type exim_spool_t; > Index: refpolicy-2.20220106/policy/modules/services/ftp.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/services/ftp.te > +++ refpolicy-2.20220106/policy/modules/services/ftp.te > @@ -110,7 +110,6 @@ gen_tunable(sftpd_write_ssh_home, false) > attribute_role ftpdctl_roles; > > type anon_sftpd_t; > -typealias anon_sftpd_t alias sftpd_anon_t; > domain_type(anon_sftpd_t) > role system_r types anon_sftpd_t; > > Index: refpolicy-2.20220106/policy/modules/services/irqbalance.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/services/irqbalance.te > +++ refpolicy-2.20220106/policy/modules/services/irqbalance.te > @@ -13,7 +13,6 @@ type irqbalance_initrc_exec_t; > init_script_file(irqbalance_initrc_exec_t) > > type irqbalance_pid_t; > -typealias irqbalance_pid_t alias irqbalance_var_run_t; > files_runtime_file(irqbalance_pid_t) > > type irqbalance_unit_t; > Index: refpolicy-2.20220106/policy/modules/services/postfix.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/services/postfix.te > +++ refpolicy-2.20220106/policy/modules/services/postfix.te > @@ -51,8 +51,7 @@ type postfix_map_tmp_t; > files_tmp_file(postfix_map_tmp_t) > > postfix_domain_template(master) > -typealias postfix_master_t alias postfix_t; > -mta_mailserver(postfix_t, postfix_master_exec_t) > +mta_mailserver(postfix_master_t, postfix_master_exec_t) > > type postfix_initrc_exec_t; > init_script_file(postfix_initrc_exec_t) > Index: refpolicy-2.20220106/policy/modules/services/spamassassin.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/services/spamassassin.te > +++ refpolicy-2.20220106/policy/modules/services/spamassassin.te > @@ -30,7 +30,6 @@ gen_tunable(spamd_enable_home_dirs, fals > gen_tunable(rspamd_spamd, false) > > type spamd_update_t; > -typealias spamd_update_t alias spamd_gpg_t; > type spamd_update_exec_t; > init_system_domain(spamd_update_t, spamd_update_exec_t) > > Index: refpolicy-2.20220106/policy/modules/system/mount.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/system/mount.te > +++ refpolicy-2.20220106/policy/modules/system/mount.te > @@ -24,7 +24,6 @@ type mount_loopback_t; # customizable > fs_image_file(mount_loopback_t) > > type mount_runtime_t; > -typealias mount_runtime_t alias mount_var_run_t; > files_runtime_file(mount_runtime_t) > > type mount_tmp_t; > Index: refpolicy-2.20220106/policy/modules/system/selinuxutil.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/system/selinuxutil.te > +++ refpolicy-2.20220106/policy/modules/system/selinuxutil.te > @@ -89,7 +89,6 @@ type restorecond_unit_t; > init_unit_file(restorecond_unit_t) > > type restorecond_run_t; > -typealias restorecond_run_t alias restorecond_var_run_t; > files_runtime_file(restorecond_run_t) > > type run_init_t; > Index: refpolicy-2.20220106/policy/modules/system/systemd.te > =================================================================== > --- refpolicy-2.20220106.orig/policy/modules/system/systemd.te > +++ refpolicy-2.20220106/policy/modules/system/systemd.te > @@ -107,8 +107,6 @@ systemd_tmpfiles_conf_file(systemd_facto > > type systemd_generator_t; > type systemd_generator_exec_t; > -typealias systemd_generator_t alias { systemd_fstab_generator_t systemd_gpt_generator_t }; > -typealias systemd_generator_exec_t alias { systemd_fstab_generator_exec_t systemd_gpt_generator_exec_t }; > init_system_domain(systemd_generator_t, systemd_generator_exec_t) > > type systemd_hostnamed_t; -- Chris PeBenito