Message ID | 20170531180633.19008-1-jwcart2@tycho.nsa.gov (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.web.codeaurora.org (Postfix) with ESMTP id 40ED360390 for <patchwork-selinux@patchwork.kernel.org>; Wed, 31 May 2017 18:08:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36E5E274D0 for <patchwork-selinux@patchwork.kernel.org>; Wed, 31 May 2017 18:08:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29794283C9; Wed, 31 May 2017 18:08:40 +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]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D529B274D0 for <patchwork-selinux@patchwork.kernel.org>; Wed, 31 May 2017 18:08:38 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.39,275,1493683200"; d="scan'208";a="7614879" IronPort-PHdr: =?us-ascii?q?9a23=3ApAQwDh9zMgCVVf9uRHKM819IXTAuvvDOBiVQ1KB5?= =?us-ascii?q?0uoWIJqq85mqBkHD//Il1AaPBtSEra4awLOP4+jJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6?= =?us-ascii?q?JvjvGo7Vks+7y/2+94fdbghMhjexe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At1y4sFd3MH6748v5ZS305hi7gm4?= =?us-ascii?q?x6H1gOHPMUGaGG/YVYnmc9geDZN9sWcq5YmmmVDh6kDqUCyWO35CuLPWllmA/B?= =?us-ascii?q?3wv3QWOp41/8tTV4TjfUz9f/jkpVUaG6BUFTXyW1Pk94tCmAPBHyuNr2vqQ161?= =?us-ascii?q?o2Mnf/udKIm2agN6lbH8rlJNyTOSM0vk4YjIUtRtyz3oAWAcayL80V8H5gdfve?= =?us-ascii?q?92Oqkyharqdcm4Xe49+a+vPLHXmhlaKWsbONyy5EynIgp1Ew9sigNu3S592NW/?= =?us-ascii?q?mo030RTyJ/tgbaUR66tKHUr1cOOUORyEfLgosKPtNH0nYkykHq/u8jQMg89A9G?= =?us-ascii?q?DIbPe+sCpSzvODvz2VufYdM3ViyF3jtSAF30EUd3GLI92GL2s8LFj3HQ9EM0Ro?= =?us-ascii?q?NobUzomQR3D5kkKUIq8FUXwysCHhIXZh+HF7yoHlrqLZcaWkcfcxiH26K6eqgv?= =?us-ascii?q?101p3ryv/PPTbfB7B6cVLfldjxWOnVZBFZIUsK0eXKp8dEVA9K7TvQXtF4/nUO?= =?us-ascii?q?X4mnUqKP21WMda8doDuHc45Qa/XRWg449Z77kHkJCIarJEYZ/UscBk9Uhn+SIA?= =?us-ascii?q?dixDgRh4lRO5UvkQpPv97djfsZqo7PuuVak2SuUP7Rc0G3hxj5v+gVAku9HX1P?= =?us-ascii?q?1QSo7LhoTl9gBCPXqKtJzd0xlmJuoEM5irc6p493UbOygeIGoDPcaMa/Yi5y9i?= =?us-ascii?q?KjPT6EJZD8wRZNMYM8vNmRxOhU3yQr5T7NfbFkWeC4hta8Ai93D3xywt8ZsgTu?= =?us-ascii?q?bg7ye7JZ/F4FFXIfxDkCVsmcnGpOgU3frdFigX7mOEaxhu2C+CzYeCC+ro9+WW?= =?us-ascii?q?1N7UT08GHjIxU4pFKzqN5wqnRvaylJXuVQ+U8dH8gJY/dEKWW3ywk78IsqJSHu?= =?us-ascii?q?5aiiT0xCJSFobriPKJq9Cs8ndYtkVbEIZv6h3IALlQPpdhNhvkjcSkWk98Bi/7?= =?us-ascii?q?eMHVaBUuovaWyfkQ7OV+LUf+YpUbIh0cwbLg9XVVVhduSKLxvluBWOIRY91mSO?= =?us-ascii?q?/Lrn9L8o9gLq4PM0KbpJP0sjdJplc2ABUqaL8rtDBacFfBnBFNUabupLEAkhcc?= =?us-ascii?q?UcJ+uUJUFmK/JHk+5yHeWapIg6efDv0V8jOOTq0BSEhoPSZ+TAmz2JpwYbepmu?= =?us-ascii?q?pHsmxelCNnvPcqyyBmRAe7uSD0paIN3jIg+LeiuDoduXxFSvienDrJCFVCyvQK?= =?us-ascii?q?lqQcC3f55FyiYXkDcpH94L16KsTh74Uh5WowYQk7dS0cQeugEz3wj7+PAoGXsd?= =?us-ascii?q?JcmgSCuMPVYL+3MCgdK7U9yRX4R3Rn1Qjehhlo+nMRQjq89N8kOJm9OcE9yyqq?= =?us-ascii?q?B2fbelgM4qdSvcr/r1ELSvU5aU97zGVlzMeHWjUHRNbTFGYtkggkdWJEfYpM6R?= =?us-ascii?q?8eEKkpjCiHvq1C/gwPezfUFYKl+ojMksvS33kyU8tqzHrMpqKZnpMqzGFlm9Rs?= =?us-ascii?q?4y6MuHQTd/TYU8hoAnjyyodQ1/fzZ/CssuAbUotp1q6tUPgYMsms4WG2wollWl?= =?us-ascii?q?e5xrQCGFq0KPMDxrbeUyq+VW2YWPiEc2uSkDY9KELy4wenLkEvYsdQs0A9KvfC?= =?us-ascii?q?hoJblwD5VLN0RyaQpVzczGE4M+MVbQE2uIChewMUSu4dfe6cKvYywPcmElsDc2?= =?us-ascii?q?fJHTdqC++xqVOih5Z0O3N84UjheuTt9gfmMMeOGhkaD4HVs4R9+fugRmKOIXVg?= =?us-ascii?q?1gF9PFFo9+fDEFQ8rvdcc5GVndfKndR63+kFd/NjMSAmv94TnYVj6ZKK38iWax?= =?us-ascii?q?HRyY3yJcrUovieDP3T1UMqentVUrABewP6+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gAiBi9Z/wHyM5BdGwEBAQMBAQEJAQEBFgEBAQMBAQE?= =?us-ascii?q?JAQEBgwEpgV0Sjn2oeyqIa1cBAQEBAQEBAQIBAmgogjMkgkkCJFUDCQIXMQgDA?= =?us-ascii?q?WwFiAVOgUUNrig6JgKLWohBiFSFJgWBLAGcdAKTGw2LIoZVlE5YgQonCQIfKVV?= =?us-ascii?q?xg06CX1qJUwEBAQ?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 31 May 2017 18:08:02 +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 v4VI5k9V017532; Wed, 31 May 2017 14:06:26 -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 v4VI5dPX069950 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Wed, 31 May 2017 14:05:39 -0400 Received: from moss-lions.infosec.tycho.ncsc.mil (moss-lions [192.168.25.4]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id v4VI5da4017529 for <selinux@tycho.nsa.gov>; Wed, 31 May 2017 14:05:39 -0400 From: James Carter <jwcart2@tycho.nsa.gov> To: selinux@tycho.nsa.gov Subject: [PATCH 1/2 v2] libsepol: Clean up scope handling Date: Wed, 31 May 2017 14:06:32 -0400 Message-Id: <20170531180633.19008-1-jwcart2@tycho.nsa.gov> X-Mailer: git-send-email 2.9.4 X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 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> Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libsepol/src/avrule_block.c b/libsepol/src/avrule_block.c index 224e999..5a873af 100644 --- a/libsepol/src/avrule_block.c +++ b/libsepol/src/avrule_block.c @@ -156,20 +156,35 @@ int is_id_enabled(char *id, policydb_t * p, int symbol_table) { scope_datum_t *scope = (scope_datum_t *) hashtab_search(p->scope[symbol_table].table, id); - uint32_t i; + avrule_decl_t *decl; + uint32_t len = scope->decl_ids_len; + if (scope == NULL) { return 0; } if (scope->scope != SCOPE_DECL) { return 0; } - for (i = 0; i < scope->decl_ids_len; i++) { - avrule_decl_t *decl = - p->decl_val_to_struct[scope->decl_ids[i] - 1]; + + if (len < 1) { + return 0; + } + + if (symbol_table == SYM_ROLES || symbol_table == SYM_USERS) { + uint32_t i; + for (i = 0; i < len; i++) { + decl = p->decl_val_to_struct[scope->decl_ids[i] - 1]; + if (decl != NULL && decl->enabled) { + return 1; + } + } + } else { + decl = p->decl_val_to_struct[scope->decl_ids[len-1] - 1]; if (decl != NULL && decl->enabled) { return 1; } } + return 0; } diff --git a/libsepol/src/policydb.c b/libsepol/src/policydb.c index ab3b31f..691101e 100644 --- a/libsepol/src/policydb.c +++ b/libsepol/src/policydb.c @@ -1720,6 +1720,19 @@ int symtab_insert(policydb_t * pol, uint32_t sym, return -ENOMEM; } + if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_REQ) { + /* Need to keep the decl at the end of the list */ + uint32_t len, tmp; + len = scope_datum->decl_ids_len; + if (len < 2) { + /* This should be impossible here */ + return -1; + } + tmp = scope_datum->decl_ids[len-2]; + scope_datum->decl_ids[len-2] = scope_datum->decl_ids[len-1]; + scope_datum->decl_ids[len-1] = tmp; + } + return retval; }
Currently, when checking if an identifier is enabled, each scope in the decl_ids list is checked. This means that if any block that requires the identifier is enabled, then the identifier will be treated as being declared. Now, declarations will be kept at the end of the decl_ids list and when checking if an identifier is enabled, only the last scope will be checked (Except for roles and users which allow multiple declarations, they will have to keep the old behavior.) Signed-off-by: James Carter <jwcart2@tycho.nsa.gov> --- v2: Removed duplicate declaration libsepol/src/avrule_block.c | 23 +++++++++++++++++++---- libsepol/src/policydb.c | 13 +++++++++++++ 2 files changed, 32 insertions(+), 4 deletions(-)