Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5517513pxb; Mon, 14 Feb 2022 00:30:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbRL2CrT5gEranmi/E7XmNZg/3J3sFXburAC11KJPbAPfZPH8EAO4f3hTPHW1KWTMJAPhP X-Received: by 2002:a05:6402:530b:: with SMTP id eo11mr13884390edb.169.1644827455292; Mon, 14 Feb 2022 00:30:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644827455; cv=none; d=google.com; s=arc-20160816; b=ZdxGGHrBpYpWJpvn/S3SowpqOMRT35YgLyXCUhBZK9oNLJWsxxiNSmRjgrpaGMMbAh vpcVn48BS2VyTP+uYTplbxneEJPMY3plaJnbhiye9DipOpVuS1Ye2f2PiIBhOHyXSBbK du4skc+IAp4MXJRPhYQ5KfuLaKoyhSxHntbhDawK5Bbuc7D0F/vrRP4NrVQT9N5rUU95 oeKVE9XWDXFM+Kf0NAeLYemJ/1jCUB9TKMOYeOarHSixjwBeV/Idn1NS/MYrfNb+3dq3 isfmOCGuFnF6AASFIDm+K7MEYrqHZP0zzH1XNAneqrhzESfLB2oFhE8vDDtkJyIKVf+a QJLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=B6Cmmhj/hLtsPvY4ZzZgKnAraBtp636gjh82fhAoPqc=; b=f8oORDa9gow+lLgimtB//yuwVIxxKeSSs8q/f0dUuOFOBe+BdLPrXiR+GxB3SVE8Fm fMC6SWJQd1CkPiW7etEF9zi+YsxM5mV19GqacH4edUatdZL2WPYHjhDiMWtekfAau0Sv wqXGOf/9NObXA8dlySTy2Z1ug3pqBDOnFlrU7N0j0ZfUyq0QZ73ySGC6dwfkhvksAE9I reafqraaSch4GFoFTHNBfCl5i2zfhJiVtBF+ZpU+8Bg5efSMYQUKgkc9+9WAhYs5A01N 90NWby3PLUin/eh5yr5MJf+fSW2hhZiPV0ND/1SvqzsD8ArBHs+256OKulTtfIqltPLO Lc3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@coker.com.au header.s=2008 header.b=yVohMSF1; 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=REJECT sp=REJECT dis=NONE) header.from=coker.com.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt20si18578272ejc.735.2022.02.14.00.30.47; Mon, 14 Feb 2022 00:30:54 -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=@coker.com.au header.s=2008 header.b=yVohMSF1; 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=REJECT sp=REJECT dis=NONE) header.from=coker.com.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234928AbiBMKSm (ORCPT + 22 others); Sun, 13 Feb 2022 05:18:42 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbiBMKSl (ORCPT ); Sun, 13 Feb 2022 05:18:41 -0500 Received: from smtp.sws.net.au (smtp.sws.net.au [144.76.241.179]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8677E5D18A for ; Sun, 13 Feb 2022 02:18:36 -0800 (PST) Received: from xev.coker.com.au (localhost [127.0.0.1]) by smtp.sws.net.au (Postfix) with ESMTP id 41DB3EB84 for ; Sun, 13 Feb 2022 21:10:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1644747014; bh=B6Cmmhj/hLtsPvY4ZzZgKnAraBtp636gjh82fhAoPqc=; l=5593; h=Date:From:To:Subject:From; b=yVohMSF1jWxgPM4aMMGC/UMbY8BpLpLby1EyqJIECs3qLbzx/LCR4g1cf/gaZmzir 1icfQWxbPYA6X/gKer/81/9ZR4lko5PwXEN3r07hkzrzuiyijlfX/jmizYprEVcA6P LK+zGgFT0XMXaf2Xau3ugATI8F2F3FSmxQRyxfis= Received: by xev.coker.com.au (Postfix, from userid 1001) id C61AC172A28B; Sun, 13 Feb 2022 21:10:09 +1100 (AEDT) Date: Sun, 13 Feb 2022 21:10:09 +1100 From: Russell Coker To: selinux-refpolicy@vger.kernel.org Subject: [PATCH] remove aliases from 20210203 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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. 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;