From patchwork Tue Oct 16 08:25:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vit Mojzis X-Patchwork-Id: 10643225 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DC96925 for ; Tue, 16 Oct 2018 08:27:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A54C28A73 for ; Tue, 16 Oct 2018 08:27:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E7EC29976; Tue, 16 Oct 2018 08:27:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from uhil19pa09.eemsg.mail.mil (uhil19pa09.eemsg.mail.mil [214.24.21.82]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA256 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BF1F628A73 for ; Tue, 16 Oct 2018 08:27:21 +0000 (UTC) X-EEMSG-check-008: 325106739|UHIL19PA09_EEMSG_MP7.csd.disa.mil Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by uhil19pa09.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 16 Oct 2018 08:27:20 +0000 X-IronPort-AV: E=Sophos;i="5.54,387,1534809600"; d="scan'208";a="19448127" IronPort-PHdr: 9a23:mLqvPBKNUGV9QRAMk9mcpTZWNBhigK39O0sv0rFitYgTKvj6rarrMEGX3/hxlliBBdydt6obzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x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paKU/rjZCbEnBgBVVW7rouL4HkgYcStB5uUpQFm+xO28z/CTHWrpPjKmQCf0V9TOTQrYIU0p2LiMtCy+yjY5jf7qvgOBvrnJNniQ7puMjlTNhWkiSoyrp8pwMxXoF/7OqtS5J7WJASeeMkjzgE1hPzP0Wy6wbDiCxuhSHfHAfYd6qs/FcLsP6+NxkuixlO0cqYjEGUOK8Cir5k6KPBMmVvclBgAKW4piXP6KzLCxLZ6w0kU+lSnV4yQeYmR9p9C0OQzHzib1sKIa8PJMjwSylUSjeeU0X66xE+M32qRYQTeQwZF8giGVu28SKXGsMEcrIHWtm62pscn1KJbRE7xJSDKw0mnCQpKAT4AQTYiXVCay/94XQlNuO0n44HrIIjnnOqPi9j4gxmGZgh8sy6yePvHoIcOmNTcprAGryza9FxOD+bunruecCG+4EgK+5Xqo6O9K4sXCzxI0sWkKhweEGGEGlNeYY2rrBeyK1ECuCVOiLenTKlDE8YSuQrRWtJ0c8Pd9DtFR1cvOXgJlamkXtUKghQCKWqB6TwDk5PO8afh5ws4Cidg== X-IPAS-Result: A2BcAACQn8Vb/wHyM5BkHAECBAEIBAGBVAUBDAGBWScDZiNcKIxri02QIIh0FIFfFBgDEAGJMSE2Cw0BAwEBAQEBAQIBbBwMgjYkgmADAwECNxQgDgMJAQFACAgDAS0VEQ4LBRgEgn8BKAGBWAOnRIU6hGiLTBeBQT+Db4IJgncBEgGFeQKIaIYVjy0Jhhk8iXsLF4IbhwOHAJYtgUoNJGRxTSMVO4JsCYtghG9tgQUBARyHeQ0XB4IgAQE Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 16 Oct 2018 08:27:20 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w9G8RJ1s024917; Tue, 16 Oct 2018 04:27:19 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id w9G8QCXC003677 for ; Tue, 16 Oct 2018 04:26:12 -0400 Received: from goalie.tycho.ncsc.mil (goalie.tycho.ncsc.mil [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w9G8QBR1024883 for ; Tue, 16 Oct 2018 04:26:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BjAQBQn8VblywVGNZkH4F4gVonaX8ojGuLTZAgiHSBeg0bEYRAAoRvITUMDQEDAQEBAQEBAhQBAQEBAQYYBkyFRgMDgQlRV4M5ASgBgVgDp0KFOoRoi0wXgUE/g2+CCYkEAoholUIJhhk8iXsLF4IbhwOHAJYtgUUBggpNIxU7gmwJgisaiRuEb22BI4d5K4IgAQE X-IPAS-Result: A1BjAQBQn8VblywVGNZkH4F4gVonaX8ojGuLTZAgiHSBeg0bEYRAAoRvITUMDQEDAQEBAQEBAhQBAQEBAQYYBkyFRgMDgQlRV4M5ASgBgVgDp0KFOoRoi0wXgUE/g2+CCYkEAoholUIJhhk8iXsLF4IbhwOHAJYtgUUBggpNIxU7gmwJgisaiRuEb22BI4d5K4IgAQE X-IronPort-AV: E=Sophos;i="5.54,387,1534824000"; d="scan'208";a="392917" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 16 Oct 2018 04:26:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BkAQCQn8VblywVGNZkH4F4gVonaX8ojGuLTZAgiHSBeg0bEYRAAoRvITUMDQEDAQEBAQEBAgETAQEBAQEGGAZMDII2IoJiAwOBCVFXgzkBKAGBWAOnRIU6hGiLTBeBQT+Db4IJiQQCiGiVQgmGGTyJewsXghuHA4cAli2BRQGCCk0jFTuCbAmCKxqJG4RvbYEjh3krgiABAQ X-IPAS-Result: A0BkAQCQn8VblywVGNZkH4F4gVonaX8ojGuLTZAgiHSBeg0bEYRAAoRvITUMDQEDAQEBAQEBAgETAQEBAQEGGAZMDII2IoJiAwOBCVFXgzkBKAGBWAOnRIU6hGiLTBeBQT+Db4IJiQQCiGiVQgmGGTyJewsXghuHA4cAli2BRQGCCk0jFTuCbAmCKxqJG4RvbYEjh3krgiABAQ X-IronPort-AV: E=Sophos;i="5.54,387,1534809600"; d="scan'208";a="19448107" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from uhil3cpa05.eemsg.mail.mil ([214.24.21.44]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 16 Oct 2018 08:26:10 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;2458a6e4-14c0-4897-91e4-13f01f84865c Authentication-Results: uhil19pa05.eemsg.mail.mil; dkim=none (message not signed) header.i=none; spf=None smtp.pra=vmojzis@redhat.com; spf=Pass smtp.mailfrom=vmojzis@redhat.com; spf=Pass smtp.helo=postmaster@mx1.redhat.com; dmarc=pass (p=none dis=none) d=redhat.com X-EEMSG-check-008: 318134344|UHIL19PA05_EEMSG_MP3.csd.disa.mil X-EEMSG-SBRS: 3.5 X-EEMSG-ORIG-IP: 209.132.183.28 X-EEMSG-check-002: true X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0A6AABOoMVbhxy3hNFkHQIFCAWBVAYMAYFZgRB/KIxri02QIIh0gXoNGxABhEAChG8aBgEEMgsNAQMBAQEBAQEBAQETAQEBCgsJCCkjDII2IoJiAwOBCVFXgzkBKAGBWKdMhTqEaItMF4FBP4NvB4ICiQQCiGiVQgmGGTyJewsXghuHA4cAli2BSQGCBk0jFTuCbAmCK4k1hG89MIEhAQGHeSuCIAEB X-IPAS-Result: A0A6AABOoMVbhxy3hNFkHQIFCAWBVAYMAYFZgRB/KIxri02QIIh0gXoNGxABhEAChG8aBgEEMgsNAQMBAQEBAQEBAQETAQEBCgsJCCkjDII2IoJiAwOBCVFXgzkBKAGBWKdMhTqEaItMF4FBP4NvB4ICiQQCiGiVQgmGGTyJewsXghuHA4cAli2BSQGCBk0jFTuCbAmCK4k1hG89MIEhAQGHeSuCIAEB Received: from mx1.redhat.com ([209.132.183.28]) by uhil19pa05.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 16 Oct 2018 08:26:04 +0000 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B410530C811E for ; Tue, 16 Oct 2018 08:26:02 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-204-163.brq.redhat.com [10.40.204.163]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0E7F31084181 for ; Tue, 16 Oct 2018 08:26:01 +0000 (UTC) X-EEMSG-check-009: 444-444 From: Vit Mojzis To: selinux@tycho.nsa.gov Date: Tue, 16 Oct 2018 10:25:41 +0200 Message-Id: <20181016082541.21615-4-vmojzis@redhat.com> In-Reply-To: <20181016082541.21615-1-vmojzis@redhat.com> References: <20181016082541.21615-1-vmojzis@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Tue, 16 Oct 2018 08:26:02 +0000 (UTC) Subject: [PATCH 3/3] python/semanage: Stop rejecting aliases in semanage commands X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP Resolves: rhbz#1544793 --- python/semanage/seobject.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/python/semanage/seobject.py b/python/semanage/seobject.py index c1467185..5d34cdbe 100644 --- a/python/semanage/seobject.py +++ b/python/semanage/seobject.py @@ -1081,7 +1081,7 @@ class portRecords(semanageRecords): if type == "": raise ValueError(_("Type is required")) - if type not in self.valid_types: + if sepolicy.get_real_type_name(type) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a port type") % type) (k, proto_d, low, high) = self.__genkey(port, proto) @@ -1145,7 +1145,7 @@ class portRecords(semanageRecords): else: raise ValueError(_("Requires setype")) - if setype and setype not in self.valid_types: + if setype and sepolicy.get_real_type_name(setype) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a port type") % setype) (k, proto_d, low, high) = self.__genkey(port, proto) @@ -1349,7 +1349,7 @@ class ibpkeyRecords(semanageRecords): if type == "": raise ValueError(_("Type is required")) - if type not in self.valid_types: + if sepolicy.get_real_type_name(type) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a ibpkey type") % type) (k, subnet_prefix, low, high) = self.__genkey(pkey, subnet_prefix) @@ -1411,7 +1411,7 @@ class ibpkeyRecords(semanageRecords): else: raise ValueError(_("Requires setype")) - if setype and setype not in self.valid_types: + if setype and sepolicy.get_real_type_name(setype) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a ibpkey type") % setype) (k, subnet_prefix, low, high) = self.__genkey(pkey, subnet_prefix) @@ -1597,7 +1597,7 @@ class ibendportRecords(semanageRecords): if type == "": raise ValueError(_("Type is required")) - if type not in self.valid_types: + if sepolicy.get_real_type_name(type) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be an ibendport type") % type) (k, ibendport, port) = self.__genkey(ibendport, ibdev_name) @@ -1658,7 +1658,7 @@ class ibendportRecords(semanageRecords): else: raise ValueError(_("Requires setype")) - if setype and setype not in self.valid_types: + if setype and sepolicy.get_real_type_name(setype) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be an ibendport type") % setype) (k, ibdev_name, port) = self.__genkey(ibendport, ibdev_name) @@ -1847,7 +1847,7 @@ class nodeRecords(semanageRecords): if ctype == "": raise ValueError(_("SELinux node type is required")) - if ctype not in self.valid_types: + if sepolicy.get_real_type_name(ctype) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a node type") % ctype) (rc, k) = semanage_node_key_create(self.sh, addr, mask, proto) @@ -1916,7 +1916,7 @@ class nodeRecords(semanageRecords): if serange == "" and setype == "": raise ValueError(_("Requires setype or serange")) - if setype and setype not in self.valid_types: + if setype and sepolicy.get_real_type_name(setype) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a node type") % setype) (rc, k) = semanage_node_key_create(self.sh, addr, mask, proto) @@ -2235,7 +2235,6 @@ class fcontextRecords(semanageRecords): try: valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "file_type"))[0]["types"]) valid_types += list(list(sepolicy.info(sepolicy.ATTRIBUTE, "device_node"))[0]["types"]) - valid_types.append("<>") except RuntimeError: valid_types = [] @@ -2363,7 +2362,7 @@ class fcontextRecords(semanageRecords): if type == "": raise ValueError(_("SELinux Type is required")) - if type not in self.valid_types: + if type != "<>" and sepolicy.get_real_type_name(type) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a file or device type") % type) (rc, k) = semanage_fcontext_key_create(self.sh, target, file_types[ftype]) @@ -2426,7 +2425,7 @@ class fcontextRecords(semanageRecords): def __modify(self, target, setype, ftype, serange, seuser): if serange == "" and setype == "" and seuser == "": raise ValueError(_("Requires setype, serange or seuser")) - if setype and setype not in self.valid_types: + if setype not in ["", "<>"] and sepolicy.get_real_type_name(setype) not in self.valid_types: raise ValueError(_("Type %s is invalid, must be a file or device type") % setype) self.validate(target)