Message ID | 20180924090549.17810-1-vmojzis@redhat.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <selinux-bounces@tycho.nsa.gov> 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 C8D8A112B for <patchwork-selinux@patchwork.kernel.org>; Mon, 24 Sep 2018 09:09:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C258029DEC for <patchwork-selinux@patchwork.kernel.org>; Mon, 24 Sep 2018 09:09:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B644E29DF3; Mon, 24 Sep 2018 09:09:09 +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 uhil19pa13.eemsg.mail.mil (uhil19pa13.eemsg.mail.mil [214.24.21.86]) (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 D903929DEC for <patchwork-selinux@patchwork.kernel.org>; Mon, 24 Sep 2018 09:09:08 +0000 (UTC) X-EEMSG-check-008: 326224424|UHIL19PA13_EEMSG_MP11.csd.disa.mil Received: from emsm-gh1-uea10.ncsc.mil ([214.29.60.2]) by uhil19pa13.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 24 Sep 2018 09:07:05 +0000 X-IronPort-AV: E=Sophos;i="5.54,297,1534809600"; d="scan'208";a="16137568" IronPort-PHdr: 9a23:3ijAshfTeoLEHEr52GfPXItSlGMj4u6mDksu8pMizoh2WeGdxcm7bR2N2/xhgRfzUJnB7Loc0qy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9AQE Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by EMSM-GH1-UEA10.NCSC.MIL with ESMTP; 24 Sep 2018 09:07:04 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus.infosec.tycho.ncsc.mil [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w8O95xAk000604; Mon, 24 Sep 2018 05:06:20 -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 w8O95we7037066 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Mon, 24 Sep 2018 05:05:58 -0400 Received: from goalie.tycho.ncsc.mil (goalie.infosec.tycho.ncsc.mil [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w8O95vir000602 for <selinux@tycho.nsa.gov>; Mon, 24 Sep 2018 05:05:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1BLAAC8p6hbly0WGNZZHQEBBQEHBQGBUoFjJ2h/KIxoi0mYXIF6CyMJg3pGAoNTITUXAQMBAQEBAQECFAEBAQEBBhgGTIVFAwOBCVFXGYMhASgBgVgDDKMjhHeFCQWKeBeBQT+HPwKCLoULAog2lEkJhgw3iVsLF4FFhyKGRYhvgwuJD4FDAYILTSMVO4JsgjODT4pUbYERjCIBAQ X-IPAS-Result: A1BLAAC8p6hbly0WGNZZHQEBBQEHBQGBUoFjJ2h/KIxoi0mYXIF6CyMJg3pGAoNTITUXAQMBAQEBAQECFAEBAQEBBhgGTIVFAwOBCVFXGYMhASgBgVgDDKMjhHeFCQWKeBeBQT+HPwKCLoULAog2lEkJhgw3iVsLF4FFhyKGRYhvgwuJD4FDAYILTSMVO4JsgjODT4pUbYERjCIBAQ X-IronPort-AV: E=Sophos;i="5.54,297,1534824000"; d="scan'208";a="376565" Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.35]) by goalie.tycho.ncsc.mil with ESMTP; 24 Sep 2018 05:05:57 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BLAAAwqKhbly0WGNZZHQEBBQEHBQGBUoFjJ2h/KIxoi0mYXIF6CyMJg3pGAoNTITUXAQMBAQEBAQECARMBAQEBAQYYBkwMgjUigmIDA4EJUVcZgyEBKAGBWAMMox+Ed4UJBYp4F4FBP4c/AoIuhQsCiDaUSQmGDDeJWwsXgUWHIoZFiG+DC4kPgUMBggtNIxU7gmyCM4NPilRtgRGMIgEB X-IPAS-Result: A0BLAAAwqKhbly0WGNZZHQEBBQEHBQGBUoFjJ2h/KIxoi0mYXIF6CyMJg3pGAoNTITUXAQMBAQEBAQECARMBAQEBAQYYBkwMgjUigmIDA4EJUVcZgyEBKAGBWAMMox+Ed4UJBYp4F4FBP4c/AoIuhQsCiDaUSQmGDDeJWwsXgUWHIoZFiG+DC4kPgUMBggtNIxU7gmyCM4NPilRtgRGMIgEB X-IronPort-AV: E=Sophos;i="5.54,297,1534809600"; d="scan'208";a="18567576" X-IronPort-Outbreak-Status: No, level 0, Unknown - Unknown Received: from usat3cpa07.eemsg.mail.mil ([214.24.22.45]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 24 Sep 2018 09:05:56 +0000 X-EEMSG-check-005: 0 X-EEMSG-check-006: 000-001;4d40ce5d-853d-41ec-bfbf-f6be41210a2f Authentication-Results: ukel19pa20.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: 320900337|UKEL19PA20_EEMSG_MP13.csd.disa.mil X-EEMSG-check-001: false 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: A0BvAAC8p6hbhxy3hNFZHQEBBQEHBQGBUoFjgQ9/KIxoi0mYXIF6CyMIAYN6RgKDUxoGAQQxFwEDAQEBAQEBAQEBEwEBAQgNCQgpIwyCNSKCYgMDgQlRVxmDIQEoAYFYD6MjhHeFCQWKeBeBQT+HPwKCLoULAog2lEkJhgw3iVsLF4FFhyKGRAGIb4MLiQ+BRAGCCk0jFTuCbIIzg0+KVD0wgQ8BAYwiAQE X-IPAS-Result: A0BvAAC8p6hbhxy3hNFZHQEBBQEHBQGBUoFjgQ9/KIxoi0mYXIF6CyMIAYN6RgKDUxoGAQQxFwEDAQEBAQEBAQEBEwEBAQgNCQgpIwyCNSKCYgMDgQlRVxmDIQEoAYFYD6MjhHeFCQWKeBeBQT+HPwKCLoULAog2lEkJhgw3iVsLF4FFhyKGRAGIb4MLiQ+BRAGCCk0jFTuCbIIzg0+KVD0wgQ8BAYwiAQE Received: from mx1.redhat.com ([209.132.183.28]) by ukel19pa20.eemsg.mail.mil with ESMTP/TLS/DHE-RSA-AES256-SHA256; 24 Sep 2018 09:05:54 +0000 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CD7F0308421A for <selinux@tycho.nsa.gov>; Mon, 24 Sep 2018 09:05:52 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-204-142.brq.redhat.com [10.40.204.142]) by smtp.corp.redhat.com (Postfix) with ESMTP id 325A3308BDBA for <selinux@tycho.nsa.gov>; Mon, 24 Sep 2018 09:05:51 +0000 (UTC) X-EEMSG-check-009: 444-444 From: Vit Mojzis <vmojzis@redhat.com> To: selinux@tycho.nsa.gov Date: Mon, 24 Sep 2018 11:05:49 +0200 Message-Id: <20180924090549.17810-1-vmojzis@redhat.com> In-Reply-To: <CAJfZ7==sczRmbFRVnLhQyNsQ=nQXEJwWUELZgpJANqxr-3J+eA@mail.gmail.com> References: <CAJfZ7==sczRmbFRVnLhQyNsQ=nQXEJwWUELZgpJANqxr-3J+eA@mail.gmail.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Mon, 24 Sep 2018 09:05:52 +0000 (UTC) Subject: [PATCH] python/sepolicy: Update to work with setools-4.2.0 X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" <selinux.tycho.nsa.gov> List-Post: <mailto:selinux@tycho.nsa.gov> List-Help: <mailto:selinux-request@tycho.nsa.gov?subject=help> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
python/sepolicy: Update to work with setools-4.2.0
|
expand
|
diff --git a/python/sepolicy/sepolicy/__init__.py b/python/sepolicy/sepolicy/__init__.py index 2e772867..489c6c6f 100644 --- a/python/sepolicy/sepolicy/__init__.py +++ b/python/sepolicy/sepolicy/__init__.py @@ -278,34 +278,39 @@ def _setools_rule_to_dict(rule): 'class': str(rule.tclass), } + # Evaluate boolean expression associated with given rule (if there is any) try: - enabled = bool(rule.qpol_symbol.is_enabled(rule.policy)) + # Get state of all booleans in the conditional expression + boolstate = {} + for boolean in rule.conditional.booleans: + boolstate[str(boolean)] = boolean.state + #evaluate if the rule is enabled + enabled = rule.conditional.evaluate(**boolstate) == rule.conditional_block + except AttributeError: + # non-conditional rules are always enabled enabled = True - if isinstance(rule, setools.policyrep.terule.AVRule): - d['enabled'] = enabled + d['enabled'] = enabled try: d['permlist'] = list(map(str, rule.perms)) - except setools.policyrep.exception.RuleUseError: + except AttributeError: pass try: d['transtype'] = str(rule.default) - except setools.policyrep.exception.RuleUseError: + except AttributeError: pass try: d['boolean'] = [(str(rule.conditional), enabled)] - except (AttributeError, setools.policyrep.exception.RuleNotConditional): + except AttributeError: pass try: d['filename'] = rule.filename - except (AttributeError, - setools.policyrep.exception.RuleNotConditional, - setools.policyrep.exception.TERuleNoFilename): + except AttributeError: pass return d
Change in internal setools API causes sepolicy to crash when processing AVRules. File "python/sepolicy/sepolicy/__init__.py", line 277, in _setools_rule_to_dict if isinstance(rule, setools.policyrep.terule.AVRule): AttributeError: module 'setools.policyrep' has no attribute 'terule' See https://github.com/SELinuxProject/setools/issues/8 for more details. Stop using internal setools API: - use AttributeError instead of setools specific exceptions - evaluate conditional expressions using conditional.evaluate() instead of qpol_symbol.is_enabled() Signed-off-by: Vit Mojzis <vmojzis@redhat.com> --- Thank you for the testing. Your commit message is way more descriptive, so feel free to include it (or just use v2 of your patch instead of this). python/sepolicy/sepolicy/__init__.py | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-)