From patchwork Wed May 3 10:30:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Lautrbach X-Patchwork-Id: 9709197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 86B1560387 for ; Wed, 3 May 2017 10:35:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 732D528601 for ; Wed, 3 May 2017 10:35:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67EA32860C; Wed, 3 May 2017 10:35:01 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (smtp.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5B1B2860B for ; Wed, 3 May 2017 10:35:00 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.38,283,1491264000"; d="scan'208";a="5425664" IronPort-PHdr: =?us-ascii?q?9a23=3AYcmlgxPKxWG7PXKrsf0l6mtUPXoX/o7sNwtQ0KIM?= =?us-ascii?q?zox0LP3zrsbcNUDSrc9gkEXOFd2CrakV1ayL4uu6ByQp2tWoiDg6aptCVhsI24?= =?us-ascii?q?09vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7?= =?us-ascii?q?Ovr6GpLIj8Swyuu+54Dfbx9GiTe5YL5+NhW7oAHeusUIgIZpN7o8xAbOrnZUYe?= =?us-ascii?q?pd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbY?= =?us-ascii?q?VguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLmhy?= =?us-ascii?q?cdMz4y7X/ZhMp+gqlGpB6tvgFzz5LRbIyTKfFwfL7SfckCSGRBQMhfSiJPDIC+?= =?us-ascii?q?YIsBF+oMP/tUoofjqFsVthayGRWgCfnzxjNUmnP6was32PkhHwHc2wwgGsoDvm?= =?us-ascii?q?7Ko9XpLqcZTOa7w7PVzTXfdfNZwi3y55TIchs8pvyMRbZwftDMyUkzDQPKlU+f?= =?us-ascii?q?pJf/PzyLy+sNs3KU7/Z6We2zjG4nrhh8rz6yzckvkonEnp8Zx1/L+CljwIs5OM?= =?us-ascii?q?e0RFB0bNK6CpdcqjmWO5VqTs4mWW1kpSg3xqMctZKmfyUHxo4rywDcZvGBboOG?= =?us-ascii?q?+AjsVPyLLjd9nH9lfbW/iAus/kW40e38U9W00E5NripYjtnArnAN2ALX6siAUv?= =?us-ascii?q?Z94l2u2SyO1wDO8eFIO1w0lKrHJJ4hxb48jJwTvljYHiDqgkn2ia6WdkE89uip?= =?us-ascii?q?7eTofKnmq4eBO4J7hQzyKKQjltGlDegmPQUCQXKX9fmk2L3m50L5QbFKjvMskq?= =?us-ascii?q?netZDXPd8bqbC9Aw9U1IYj9hm+Ay6939QfgHkHKk5Kdwycj4XyJ1HPIOz3Dfe4?= =?us-ascii?q?g1i2ljdr3OrJMqfuApXKMHjPiK3hcqpl605A1AozyshS55BTCrEHOv3zRk/xu8?= =?us-ascii?q?beDhIiMQy0xODnCNBn2YMFRWKAHLWZMLjIvV+P/OIvLPGGZJUJtzblN/gl+/nu?= =?us-ascii?q?gGc7mV8fZ6amwZgXaGu/HvRgIkWZf2HhgtkFEWcXsQsxV/HqiFueUT5OfXqyWL?= =?us-ascii?q?g85j4jAoK8EYjDXpytgKCG3CqjEJxWZ2RGClWSHnfybIiEVekDZz+VIs97iDME?= =?us-ascii?q?TaKhS4gj1R6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6n2Q?= X-IPAS-Result: =?us-ascii?q?A2HdCwDnsQlZ/wHyM5BcHAEBBAEBCgEBFwEBBAEBCgEBgwE?= =?us-ascii?q?mA2KBDI5zkmoBlWcrA4F3iG1XAQEBAQEBAQECAQJoKIIzIoEqWzwGAQJ5AwkBA?= =?us-ascii?q?RcxCAMBORoZBYhRgT4NslYmAop8hl+KKIUZAQSdW4cbi2wNimsnhkyUNFiBCk4?= =?us-ascii?q?hFUWGcnSIXgEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 03 May 2017 10:34:44 +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 v43AYhQM030936; Wed, 3 May 2017 06:34:44 -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 v43AVDkW015791 for ; Wed, 3 May 2017 06:31:13 -0400 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v43AUrfR029545 for ; Wed, 3 May 2017 06:31:13 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1CAAQC6sAlZhxy3hNFcHAEBBAEBCgEBgywmZYEMjnOoXCSGAAKEYlcBAgEBAQEBAhMBAQEKCwkIKIVFAwN5EFE9GhmIVoE+DbJWinMBAQgohl+KKIUZBZ1bhxuLbA2Ka4ZzlDSBYU4hFUWFAYFxPjaIXgEBAQ X-IPAS-Result: A1CAAQC6sAlZhxy3hNFcHAEBBAEBCgEBgywmZYEMjnOoXCSGAAKEYlcBAgEBAQEBAhMBAQEKCwkIKIVFAwN5EFE9GhmIVoE+DbJWinMBAQgohl+KKIUZBZ1bhxuLbA2Ka4ZzlDSBYU4hFUWFAYFxPjaIXgEBAQ X-IronPort-AV: E=Sophos;i="5.38,283,1491278400"; d="scan'208";a="6038185" Received: from emsm-gh1-uea10.corp.nsa.gov (HELO emsm-gh1-uea10.nsa.gov) ([10.208.41.36]) by goalie.tycho.ncsc.mil with ESMTP; 03 May 2017 06:31:12 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AZzWaox1IEogZ/1FYsmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?seweL/ad9pjvdHbS+e9qxAeQG96KtbQZ2qGM7ejJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhTexe7N/IRG5oQnPt8QdnJdvJLs2xhbVuHVDZv?= =?us-ascii?q?5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnM?= =?us-ascii?q?URGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LptRRT1ii?= =?us-ascii?q?kIKiQ5/XnXhMJukaxVrhGvqB5xw4PPfI2ZKOBzcr/Bcd8GWWZMWNtaWSxbAoO7?= =?us-ascii?q?aosCF/APMvhEr4nnulAAqwGxBRSwBOP10TBHnGP53a0n2OkmCQHG2BYvH88SsH?= =?us-ascii?q?TOt9r6LrwfUfqrw6bVzTXMde9W1S3h54jPdxAsuPeBVq9zf8rJ0UQjCR/Jg1GK?= =?us-ascii?q?pYD4MT6ZyP4Bv3WY4uduT+6jlW0qpgdsqTa13MgskJPGhocNx1DE6yp5xIE1KM?= =?us-ascii?q?W9SE90fNKoCoFQuD+HOIt2WMwiX3tktzo9yr0DoZK7fS4Kx4o7xxPHdfCLb4yF?= =?us-ascii?q?7gj+WOufPzt0nm9pdbGxihqo70StyfXwVsyu31ZLqipFnMPMtncI1xHL8siHTu?= =?us-ascii?q?Fy/lq92TaVzA/c8PpJIVoqmqXGK54u2KIwmoAPvkTEGy/6gF/2g7OOdkU45uio?= =?us-ascii?q?7PzqYq74qZ+YNo90jBz+M6s1l8yjAeU3LggOX2+B9eS6z73s51f1QLpNjv0owe?= =?us-ascii?q?Hlt8XBKMAaoLOpKxNE2YYkrRCkBnGp18pLs2MAKQd9dQ6dx6zgJk3UKvnzDb/r?= =?us-ascii?q?m1CljStxzfnuJLDtApzRaHPEleGyLv5G90dAxV9rnphk7JVOB+RZLQ=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0GYAwDQsAlZhxy3hNFcHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgwEmZYEMjnOSa5VxJIF3hAkChGJXAQEBAQEBAQECAQIQAQEBCgs?= =?us-ascii?q?JCCgvgjMggSxbPAMDeRBRPRoZiFaBPg2yVopyAQEIKIZfiiiFGQWdW4cbi2wNi?= =?us-ascii?q?muGc5Q0gWJOIRVFhQGBcT42iF4BAQE?= X-IPAS-Result: =?us-ascii?q?A0GYAwDQsAlZhxy3hNFcHAEBBAEBCgEBFwEBBAEBCgEBgwE?= =?us-ascii?q?mZYEMjnOSa5VxJIF3hAkChGJXAQEBAQEBAQECAQIQAQEBCgsJCCgvgjMggSxbP?= =?us-ascii?q?AMDeRBRPRoZiFaBPg2yVopyAQEIKIZfiiiFGQWdW4cbi2wNimuGc5Q0gWJOIRV?= =?us-ascii?q?FhQGBcT42iF4BAQE?= X-IronPort-AV: E=Sophos;i="5.38,283,1491264000"; d="scan'208";a="6590097" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from mx1.redhat.com ([209.132.183.28]) by emsm-gh1-uea10.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 May 2017 10:31:12 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 888473B71B for ; Wed, 3 May 2017 10:31:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 888473B71B Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=plautrba@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 888473B71B Received: from hulk.com (unknown [10.40.2.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id A99FA19E30; Wed, 3 May 2017 10:31:08 +0000 (UTC) From: Petr Lautrbach To: selinux@tycho.nsa.gov Subject: [PATCH 12/19] sepolicy: Simplify policy types detection Date: Wed, 3 May 2017 12:30:29 +0200 Message-Id: <20170503103036.17514-13-plautrba@redhat.com> In-Reply-To: <20170503103036.17514-1-plautrba@redhat.com> References: <20170503103036.17514-1-plautrba@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 03 May 2017 10:31:11 +0000 (UTC) X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Virus-Scanned: ClamAV using ClamSMTP map() and filter() changed their return values from list to iterators in Python 3. This change drops filter() and map() from gui.py to make it work on Python 2 and 3 Fixes: Traceback (most recent call last): File "/bin/sepolicy", line 700, in args.func(args) File "/bin/sepolicy", line 326, in gui_run sepolicy.gui.SELinuxGui(args.domain, args.test) File "/usr/lib/python3.5/site-packages/sepolicy/gui.py", line 238, in __init__ if self.populate_system_policy() < 2: File "/usr/lib/python3.5/site-packages/sepolicy/gui.py", line 835, in populate_system_policy types = map(lambda x: x[1], filter(lambda x: x[0] == selinux_path, os.walk(selinux_path)))[0] TypeError: 'map' object is not subscriptable Signed-off-by: Petr Lautrbach --- python/sepolicy/sepolicy/gui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/sepolicy/sepolicy/gui.py b/python/sepolicy/sepolicy/gui.py index e361aa1c..8e86a369 100644 --- a/python/sepolicy/sepolicy/gui.py +++ b/python/sepolicy/sepolicy/gui.py @@ -831,8 +831,7 @@ class SELinuxGui(): self.enforce_button = self.disabled_button_default def populate_system_policy(self): - selinux_path = selinux.selinux_path() - types = map(lambda x: x[1], filter(lambda x: x[0] == selinux_path, os.walk(selinux_path)))[0] + types = next(os.walk(selinux.selinux_path(), topdown=True))[1] types.sort() ctr = 0 for item in types: