From patchwork Fri Jun 2 20:01:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Lautrbach X-Patchwork-Id: 9763347 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 57B8C602F0 for ; Fri, 2 Jun 2017 20:05:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AFCD285BD for ; Fri, 2 Jun 2017 20:05:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3F8BF285C1; Fri, 2 Jun 2017 20:05:25 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from emsm-gh1-uea10.nsa.gov (emsm-gh1-uea10.nsa.gov [8.44.101.8]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DFA9285BD for ; Fri, 2 Jun 2017 20:05:24 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.39,281,1493683200"; d="scan'208";a="7716829" IronPort-PHdr: =?us-ascii?q?9a23=3AGC+0bBFJ2+VO7svDOgvAWp1GYnF86YWxBRYc798d?= =?us-ascii?q?s5kLTJ79ps6zbnLW6fgltlLVR4KTs6sC0LuJ9f24EjRbqb+681k6OKRWUBEEjc?= =?us-ascii?q?hE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRo?= =?us-ascii?q?LerpBIHSk9631+ev8JHPfglEnjSwbLdwIRmsrQjdqsYajZdsJ60s1hbHv3xEdv?= =?us-ascii?q?hMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTD?= =?us-ascii?q?QhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlS?= =?us-ascii?q?kINyQ98GrKlMJ+iqxVqw+lqxBm3oLYfISZOfxjda3fYNwaX3JMUMZPWSJcDI2y?= =?us-ascii?q?bIkAD+QZPetasoXwqUUBrQClCAWwGO/i0CNEimPq0aEm1ekqDAHI3BYnH9ILqH?= =?us-ascii?q?natsv6NLsIUeuoyqfH1yjDb+9M2Tjm8ofHbhAhquyLULJodcre01QvFx/fjlqL?= =?us-ascii?q?s4PoJCmV2foQvGib9eVgSfijhHIgqwF0uzWiwNonhIrRho8N11zJ+ip0zJw1KN?= =?us-ascii?q?GlUkJ3f9GpHIVKuy2HL4d6XN8uTmVytConxLAKp4S3cDUJxZkp3RLTdf+Kfo6V?= =?us-ascii?q?6Rz5TumROy13hHd9dbK6gBa97Favx/XnVsmxzFZKti1FksTQtnwV1xzc9MyHSv?= =?us-ascii?q?xl80e9wzmPzQHT6vxfIUwuiaraK4Iuwr43lpYJt0TMAjT2l1nsgK+Td0Uk/vCk?= =?us-ascii?q?6+XhYrr4up+RL5J4hw7xP6g0msGzHP40PhYBUmSF4+iwyaXv/UjjT7VLiv02nL?= =?us-ascii?q?PZsJffJckDva62HQtV0ocl6xaiADaqyc8XnX4aLFJDZB2IkZPpNkrSIPH4Efi/?= =?us-ascii?q?g1OsnC1tx/DdJLLtGJrNLn/dkLv5Z7Zy91ZcyBYvzdBY/59UCLYBIPTpVU/ttN?= =?us-ascii?q?zXFBk5Phe2w+bgDtV905kRWXmTAqCHKqPSqkWE5uU1I+mDfIUVoiryK+A55/7y?= =?us-ascii?q?in80gV0dfauz0pQLa3C4BfNmI0OYYXrymdoBH2MKvhcxTePxlV2CVyJTZ2uoU6?= =?us-ascii?q?I7/DE7B5qsDZ3fSYC1nLyBwCC7E4VOZm9YEV+DD3Hod4SYW/cLcy+SI9FunSIa?= =?us-asc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9TNs7Hktn1zKJ3juYpC1dZUl?= =?us-ascii?q?zsgtupadYEIm2nMVPIHkKLNLOGJDDQ2c74faa8RadXjOVOuB26oSybHFP7PjSf?= =?us-ascii?q?iznpUAiiMe9WjC6FIRNeo5uychBxCWjkV9LrcQe0P8NyjTEsxr00nHzKP3YGMT?= =?us-ascii?q?dga0NNsqGQ7SRAj/V5AWxO9GJlLfGfliaX7unYMI0WsedlAiR1keJV+nI6xKdU?= =?us-ascii?q?7C5eQPx5gizSrsRho1u+iOmA1iJnUAZSqjZMnI+Epl5tNaLd9plBQnbE4AkN4X?= =?us-ascii?q?+LCxsUu9RpEMbvtL5UytjOkqLzNThD/snI8socHcjUNdmHPGAvMBXzBD7UFwwF?= =?us-ascii?q?TTixOWHYnUxdn+mY9meJoZgitpjshJ0OR6ddVFw0EvMaDlpqHMcZLZhtQDwki7?= =?us-ascii?q?mbgNQP5XqkoxnbXN9asYzfVvKOHfXvLy6UgqJFZxsHxrP4K58eOZDl1EN5a1l1?= =?us-ascii?q?hoLKF1DXXdBXrS1rdhU0r1lV8HhiUm0z3FroZRmi4HAJC/67gAU7igxmYesz8j?= =?us-ascii?q?fs5k04JlvOpCQrl0kwls/pgTeLcD7+NK2wR51ZCzLot0gtNZP2Wxp1bQq3nUB+?= =?us-ascii?q?LjfEQLNQgKVmdW9wkg/cvoVAGf1HQKJYZx8QwO2YaO8z0VRAsCmnw1FI5ffdA5?= =?us-ascii?q?t4iAQqaYKsr25H2w97at46O7bfJK5Sw1hTgaKOpTOo2fo3wA8FJEYN8XmeeCgW?= =?us-ascii?q?t0wULrMmPTan/vRw6QyenDtOYHIMWOQxov107Ew9IfiPzyL73rFYK0CxLfGQL6?= =?us-ascii?q?SXu2jYj86HXFMx2lkOl0Zb4bh8yd0jfFaMV0Az0LuREAwEOtfYJgFLbspd6WPT?= =?us-ascii?q?cD2UvuXX25J1OIu8Fvv2QuCSqaYUmEOkHBopHogW6MQOAIWs2lnCLcj7NL4F1Q?= =?us-ascii?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PoSmdvNWoR81Z3M96FZkMLclju33lAqNLJICR?= =?us-ascii?q?o2Equrzo0nLY9Sowv0u6xDWyHq+4TvhW/24FFwUoOWuRtFcgA/Er8mfI/VDHqk?= =?us-ascii?q?p08PtDBriTkUVxpy5wHohJBjZNz3+lNVpyTH5Cs+VUM6nVdstcQ/4pZRCxJxM+?= =?us-ascii?q?D/km31eS/UF1m3f5bDZ+tgxA+yDSRwM0TzUagq/xmT0CrcGqISUVS4hVbTUndS?= =?us-ascii?q?vFKBmWmSFWvBZed0FlQIoVAtBb9LEHxYFU5NbNSV6wKSEZWxxvLh440f1alUNY?= =?us-ascii?q?rEWUZSXdAhGyefbJrBJ3Yd+brNS1I/Th4AdHloTnvfg496oZXX2pgwmtTs3Foo?= =?us-ascii?q?DhqNKKrlOOe7n8M+Kie3/NVj/MjQq/hb08FZnF4zDTMBZHK5l90XckY5/hBnDQ?= =?us-ascii?q?MBtbOa0bPFRUVbpmadpYv+9Wfclkd7gV+aV1HBKIWgvvGJCzrPlBNlvcXjreID?= =?us-ascii?q?md/uG9vI7e46fQRvTnZsyJ23nIWbl3Potg5Tn9BbjqzZdU+lDq1fd16kN6VV/G?= =?us-ascii?q?PjibrNv/OwwL5NOtdlf5s50tGjPWHol/nGTxyUFHasUYXTem8JIGx5NF8HzwU/?= =?us-ascii?q?530lDvsO1O8Llp8ZE346t1yciuOKjSNe9XsVRgAhiJHAVl6osiAG5jR2BLeOAR?= =?us-ascii?q?LO3dfaMDjcDhs+r3DbAY6AWJ++xFbtvKP13BmtOhBT6CVBNJhxoBqToGLguGzf?= =?us-ascii?q?GFha50ScGhpefnxkIh+V++LgQJzLp1/4eL5rKIpPPLbxvW1bUEX7LlRsf3rrsy?= =?us-ascii?q?p0OS+ecrm6QVd2xzfQKnDPMdWdIHyWf4068m1yQsHN3fH7j44v5MS2o5ni78m5?= =?us-ascii?q?B6B1gWGOkbHaCM/YRFmmc3gfLZO8YTcqBfnmaPCR+kHaMDyXGx7SuXO3NpghbU?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++9+LVfxZZcHIhIYzLL38XVVQRF0SLHoolaZXfkcZN9nSP?= =?us-ascii?q?PYsH9V6ZhvK7IUPFSHopzlsCtIokgsAAA1cL8wsiBadk7WkQ1aRan0vqIAigwb?= =?us-ascii?q?UdJ+ok9DB2awOGM45zraWqVYl62RB+IP8jSTVKMCSUNoPT1iQxmtwpVhZ6Opne?= =?us-ascii?q?xbsmNBhi59pvkq3CBhRBu4oyLsvLgB2TMn+LG/rzUBomdITuCRnibHE1lDy+4K?= =?us-ascii?q?jagEAXb49VO8eGUDbJf14LR/KsTv6ZIh428mbRs+cCMIW+WgCyftj6KHGYGPv9?= =?us-ascii?q?dciwSLuMrQd7OzKjISNrslwxL5W3d9yhTenApv8GYTQDWg698kJIOnNck5xiqo?= =?us-ascii?q?HXXbe0sN46NItsvxrl0LTOotZFN/wWVjzNKIRikQS8zOAWo1iBYraXlcepJZ9R?= =?us-ascii?q?AaD7UogiqPvqRe/wEUfi3bEoK+94nUgMfHxHg9TdBxxm7Moa2FnJwq2mV/m9xo?= =?us-ascii?q?9i6OpGgSd+vAXs9uHHfz2IlfyejlavSjqO8HTpVpyKi7XP8ELMaj5XO82I92VU?= =?us-ascii?q?+92rQeA125PfcMxrffVCekR3OXWeCPc2WXhDY5NUjy5Ri0IVEtbsdFsVM9OPPY?= =?us-ascii?q?hpFAjw3hTa90RiKIqF/ZzGwiMfsadwUyuIemZwwFUvUcZ+2dJegy2v0xFkEAb3?= =?us-ascii?q?jTHSt5E+W2q0KinJBnO3V85kX3efjt8gHjMNaJBhkEEJLVrp1v9vy+XG6BP2Fv?= =?us-ascii?q?zAFqNklu6+jfD0gxtvNbc5uJmNjQhtd70e0Cd/p2My0yoN0TmoVl6YaK1seGax?= =?us-ascii?q?fRwYjuJdvNuPiXH+Xfz1g2emFdSrcWeh3654MmPtMiQL3TGbxZvQgABagkXpMu?= =?us-ascii?q?Kn399KZuLAN8agTRfqi7gtH2puKXYZtZv3HW4Uw0LCfdox0M1Oe5TA16b5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=?us-ascii?q?JAQEBgwEoA2KBDY5/kw0Bix6KUi0DgXeGf1cBAQEBAQEBAQIBAmgogjMkgStbP?= =?us-ascii?q?AYBAnkDCQEBFzEIAwFTGQWIU4FFDbArJgKLW4ZhijSFJgEEiUiUYYchi30Nglu?= =?us-ascii?q?IICeGV0iUD1iBClEjFYdNdIlvAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 02 Jun 2017 20:05:23 +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 v52K5Msl007646; Fri, 2 Jun 2017 16:05:23 -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 v52K1im7109986 for ; Fri, 2 Jun 2017 16:01:44 -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 v52K1flL006590 for ; Fri, 2 Jun 2017 16:01:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BhAQCqwzFZhxy3hNFdHAEBBAEBCgEBgy0oZYENjn6eM4pfJIYAAoJ8VwECAQEBAQECEwEBAQoLCQgohUgDA3kQUVcZiFiBRQ2xbYsVAQEIKIZhijWFJgWJSJRnhyGLfQ2CW4ghhn5IlBSBYVEjFYVcgXE+NolzAQEB X-IPAS-Result: A1BhAQCqwzFZhxy3hNFdHAEBBAEBCgEBgy0oZYENjn6eM4pfJIYAAoJ8VwECAQEBAQECEwEBAQoLCQgohUgDA3kQUVcZiFiBRQ2xbYsVAQEIKIZhijWFJgWJSJRnhyGLfQ2CW4ghhn5IlBSBYVEjFYVcgXE+NolzAQEB X-IronPort-AV: E=Sophos;i="5.39,286,1493697600"; d="scan'208";a="6077129" 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; 02 Jun 2017 16:01:43 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AFzzWeBfgmRg7i2FX757wku4slGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxcqyYR7h7PlgxGXEQZ/co6odzbGH7Oa9ASdYut6oizMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVr?= =?us-ascii?q?O+/7BpDdj9it1+C15pbffxhEiCCzbL52Lhi6twXcutUZjYd+JKs61wfErGZPd+?= =?us-ascii?q?lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLe?= =?us-ascii?q?TQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgz?= =?us-ascii?q?oBOjUk8m/Yl9Zwgbpbrhy/uhJxzY3ab4ObNPdlYq/RYckXSXZdUspNSyBMBJ63?= =?us-ascii?q?YYsVD+oGOOZVt5PzqEUSrRukGAKiAvngyiJUhn/sxqI1yfguEQHb1wEnB9IOtG?= =?us-ascii?q?7brMjpNKcISu+61rLFzS/dYPxL2Tfy8pTIfgo9rvGLWLJ9aMzcwlQsGQPdllic?= =?us-ascii?q?t5DpMjeP2ugQvWWX8fBsWf+shmMpsQ19vDuiy8ExgYfTnI0V0ErL9SBhzYY1O9?= =?us-ascii?q?K4TEl7bMahEJpfqi2WLZF2Td0/TGFooik61qcKtoK8fCgP0JgnxhjfZOKbc4WQ?= =?us-ascii?q?/B7vSOKcLS1liH9rZr6znQu+/Euux+HmSMW5005Gri9fndnNsnAN2QbT6s+CSv?= =?us-ascii?q?Zl5keh3SyA1x3P6uFeOk87j7HWK4Q/zbEtlpocq1jDEjXql0Xxia+abl8k9fSw?= =?us-ascii?q?6+T7frXmoYeRN5RqhQH6M6QunNG/AOsjPwgSX2mU5eS81Lr58U3/W7VFlOc6kq?= =?us-ascii?q?besJDEdownofuiDgtU1JszwwquBDehltIDlD8IK0wWVgiAit3RNk3UaNTxEOul?= =?us-ascii?q?iV2nkH8/3/TPI6H7CJzlNHXPkL79O7167hgPm0II0dlD6scMWfk6K/XpVxqpuQ?= =?us-ascii?q?=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EPAgBjjTBZhxy3hNFdHAEBBAEBCgEBF?= =?us-ascii?q?wEBBAEBCgEBgwEoZYENjn+TDoseil4kgXeECQKCdFcBAQEBAQEBAQIBAhABAQE?= =?us-ascii?q?KCwkIKC+CMyKBLVs8AwN5EFFXGYhYgUUNsCuLUQEBCCiGYYo0hSYFiUiUYYchi?= =?us-ascii?q?30NgluIIIZ+SJQPgWJRIxWFXIFxPjaJbwEBAQ?= X-IPAS-Result: =?us-ascii?q?A0EPAgBjjTBZhxy3hNFdHAEBBAEBCgEBFwEBBAEBCgEBgwE?= =?us-ascii?q?oZYENjn+TDoseil4kgXeECQKCdFcBAQEBAQEBAQIBAhABAQEKCwkIKC+CMyKBL?= =?us-ascii?q?Vs8AwN5EFFXGYhYgUUNsCuLUQEBCCiGYYo0hSYFiUiUYYchi30NgluIIIZ+SJQ?= =?us-ascii?q?PgWJRIxWFXIFxPjaJbwEBAQ?= X-IronPort-AV: E=Sophos;i="5.39,281,1493683200"; d="scan'208";a="7716678" 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; 02 Jun 2017 20:01:42 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BB1AB80C0B for ; Fri, 2 Jun 2017 20:01:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com BB1AB80C0B Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=plautrba@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com BB1AB80C0B Received: from workstation.redhat.com (ovpn-204-16.brq.redhat.com [10.40.204.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id D4A52779CD; Fri, 2 Jun 2017 20:01:40 +0000 (UTC) From: Petr Lautrbach To: selinux@tycho.nsa.gov Subject: [PATCH 2/2] sepolicy: Fix sorting of port_strings in python 3 Date: Fri, 2 Jun 2017 22:01:31 +0200 Message-Id: <20170602200131.16718-3-plautrba@redhat.com> In-Reply-To: <20170602200131.16718-1-plautrba@redhat.com> References: <20170602200131.16718-1-plautrba@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Fri, 02 Jun 2017 20:01:41 +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 Fixes: $ sepolicy network -d httpd_t httpd_t: tcp name_connect Traceback (most recent call last): File /usr/bin/sepolicy, line 699, in args.func(args) File /usr/bin/sepolicy, line 319, in network _print_net(d, tcp, name_connect) File /usr/bin/sepolicy, line 276, in _print_net port_strings.sort(numcmp) TypeError: must use keyword argument for key function Signed-off-by: Petr Lautrbach --- python/sepolicy/sepolicy.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/python/sepolicy/sepolicy.py b/python/sepolicy/sepolicy.py index 5bf9b526..141f64ec 100755 --- a/python/sepolicy/sepolicy.py +++ b/python/sepolicy/sepolicy.py @@ -241,19 +241,13 @@ def generate_custom_usage(usage_text, usage_dict): return usage_text - -def numcmp(val1, val2): +# expects formats: +# "22 (sshd_t)", "80, 8080 (httpd_t)", "all ports (port_type)" +def port_string_to_num(val): try: - v1 = int(val1.split(",")[0].split("-")[0]) - v2 = int(val2.split(",")[0].split("-")[0]) - if v1 > v2: - return 1 - if v1 == v2: - return 0 - if v1 < v2: - return -1 + return int(val.split(" ")[0].split(",")[0].split("-")[0]) except: - return cmp(val1, val2) + return 99999999 def _print_net(src, protocol, perm): @@ -273,7 +267,7 @@ def _print_net(src, protocol, perm): port_strings.append("%s (%s) %s" % (", ".join(recs), t, boolean_text)) else: port_strings.append("%s (%s)" % (", ".join(recs), t)) - port_strings.sort(numcmp) + port_strings.sort(key=lambda param: port_string_to_num(param)) for p in port_strings: print("\t" + p)