Message ID | 20180503184845.19790-3-sds@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 DA86260327 for <patchwork-selinux@patchwork.kernel.org>; Thu, 3 May 2018 18:50:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C43902922E for <patchwork-selinux@patchwork.kernel.org>; Thu, 3 May 2018 18:50:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8C9F29252; Thu, 3 May 2018 18:50:49 +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 upbd19pa10.eemsg.mail.mil (upbd19pa10.eemsg.mail.mil [214.24.27.85]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 050212922E for <patchwork-selinux@patchwork.kernel.org>; Thu, 3 May 2018 18:50:47 +0000 (UTC) Received: from emsm-gh1-uea11.ncsc.mil ([214.29.60.3]) by upbd19pa10.eemsg.mail.mil with ESMTP; 03 May 2018 18:50:45 +0000 X-IronPort-AV: E=Sophos;i="5.49,359,1520899200"; d="scan'208";a="12860202" IronPort-PHdr: =?us-ascii?q?9a23=3AtJ8ogB3agWGJOt5GsmDT+DRfVm0co7zxezQtwd?= =?us-ascii?q?8Zse8TLf/xwZ3uMQTl6Ol3ixeRBMOHs6kC07KempujcFRI2YyGvnEGfc4EfD?= =?us-ascii?q?4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFA?= =?us-ascii?q?nh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WueRqJc1zwxhZQ1UIQoX2pnC?= =?us-ascii?q?u31Tp0nysvrqWBwCzE2/7iewYfOm5XWGliik/hIIaugNAeQEincRIplAC+6E?= =?us-ascii?q?bk2adbvr9wL3TWQUtSeCj2NW5iWLOqtrWee85P9I8osSJPXeSiYFCVVqL9ox?= =?us-ascii?q?wA0y/5A2RexDc7dzelupjimxx6iWSdI2xprHreY81wwg3f5NPET/5LwjUGXD?= =?us-ascii?q?V4iSXQBlWkO9mp/M6Ul4vavuClSW2hUpxTcS/2zYKPrya7/nVqARy5n/Cyht?= =?us-ascii?q?LnChI20Snl2Nl2TS/ItgrzYpH316SmNuJqZlNoBFj468p+BI5+iJc/hJYe2H?= =?us-ascii?q?UBnZWV4GYIkXzpPdVcw6L+Y2IHRSQXzN7N/AjlxEpjI2qKx43nUHWd2dBsZ9?= =?us-ascii?q?qkbWMQwSI96d5FCLuO4LxDhyt1rUKyrRjNbvhlgjcd1fwu5WYCg+4TpQotyj?= =?us-ascii?q?uSAqgIEkleISzjiQ6I4sujrKVMemmva6Ow2FBlndCmEbGCuB1TV2j3epclBy?= =?us-ascii?q?9w4dtwPEjK0HLt9oHuYMPQYs4Lth2IjxfAiPBYKIw3lvUXnidnJ2T9smAly+?= =?us-ascii?q?Ihixxhw426tpCdK2px5KK5HgJYNjrtasML4D7tkKJek92K0ICuApVgGiwHXJ?= =?us-ascii?q?XyQvKuCj4Ssu7nNwmWGj0mtnibAabfHROY6Ep+rHLOE5SrOG+MKXkcytViSh?= =?us-ascii?q?edK1JDgAAIXDU6mZs5GR6wyMznbkh5+igb5kTkpRtU1uJoKx7/X3/RpAiybD?= =?us-ascii?q?c0VJ+fLB9N4wFM+UjaLMue7vhpECFA5J2hqw6NJXKHaARUF20JXVaEB1/7NL?= =?us-ascii?q?m0+dbA6/SYBva5L/bWfLqBteleV/COxZKzz4dr5CiMOduVPnljDvw73UxDUW?= =?us-ascii?q?p/G8vHhzUFUzYXmD7Vb86HuBe8/TV6rs6l8Pv1RQ3v/pGAC71OMdVo4BC7mr?= =?us-ascii?q?2MOPKVhCpjLjZYzJwMz2fSyLcDxF4Slz1udz61HLQGry7CVrrQmrdMAh4Vai?= =?us-ascii?q?NzLtBI774y3glMP87UkNX12aJ5jvEvD1dJT1vhmtumZcYSOWGyKEvHBFqXNL?= =?us-ascii?q?SBPTDE2Nr4baS4Sb1Rl+VUqwawtSyAE0D9IjuPjSLpWA6rMeFNiiGbIRNftZ?= =?us-ascii?q?qhfRdtE2jjUcnmZge1MdBtkT022ro0hnXQOW4bKzh8fFtHrqeM4iNAnvV/B2?= =?us-ascii?q?tB42JjLemFnyaZ6/fXKo0NvPRxHCt0jeVa7G49y7tP4yFOXOZ1lzfKrt5yv1?= =?us-ascii?q?GmlfGCxSFmUBpBrTZLgpmGslh8NqrC95lPQ3DE8AgK7WWKBBQAv8FlBcH3u6?= =?us-ascii?q?BM1tjPk7r+Jy1N893O48sTGdPZKMWfMHU/NxrpHSTbDAoBTTGwMmHeiFZRkP?= =?us-ascii?q?aI9n2atpI6sITjmIISSr9HU1w4Du8aCkNgHNAYOpd3WTIlnqCdjMET/3q+qw?= =?us-ascii?q?feRMZBs5/bUfKSBOngJyyCjblYfRcIx633LZgLPI3hx0NickV6nJjNG0fIX9?= =?us-ascii?q?BNoi1gbhczoEVJ8Xh+UnM81lngagOs/H8TD+C7kgQxigtkbuQn7C3s7EsvJl?= =?us-ascii?q?rWuCswl1E8mdP7jj+LdD78N6SwXYZNCyrorUcxNIj7QwV0bQGom0xrKivETa?= =?us-ascii?q?pLj7R8bWBrlBPcuZxXFP5GU6JEewEfyuuNZ/o00VRRsT6oxU5d5eTYDptimh?= =?us-ascii?q?MqcYSyoHNAwQ5jasA6JbDILqpT0ldQnr6OvjOv1u0p3QARPVgN8GKPdy4To0?= =?us-ascii?q?EHLKMmJzCv/u1i8gyNhSdMeHUWV/orvvJr9lkxO+KewCL8y7RDMFy+N/SDL6?= =?us-ascii?q?OFvGjNjcqIQlQq1kwWkUlE/L923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suk?= =?us-ascii?q?aS6OYhlLEQem16fRenEOkbVs4S3Gvgy74lzT40GcPZA73g4OJDV24+nj/4nZ?= =?us-ascii?q?B9G04bGvISHbqO54hen2E4m+LDNtIMaaBChnyPFQO4Hb8e1H6r8TWYLHNigh?= =?us-ascii?q?HU3BH6WXmz40PurS9kXSvMyM/ukk9SVrmxGUdSUDSmNFR9sDOOJgXossT4ub?= =?us-ascii?q?g77UExKGzkt8mNmHGnOLxJA831PMacLjUspFILkJ0xQcSi2YQAGdq4INoc63?= =?us-ascii?q?9+YeXD5GOsiS9Oub9Hh5DZ4sGX5PrYAWWgg7edq7WXyzBS0mI4sk0n6tC8Kv?= =?us-ascii?q?HO4MWHQ/Wp1mkLVShwpxDMXwWrpbzHsV8bJVaH0EDRmIwFJttZx2U31ln65O?= =?us-ascii?q?g/R9I+7B5RFofbZ/IMvz/zOjr0wUqHY90tSyme1yBaEU7yEVZlBqczwn/wvN?= =?us-ascii?q?jOlXfK4VIkXI5wd1bohRZvFYU3NVot6EQLwioECQUNcQqUDK20CkTlI4oEUl?= =?us-ascii?q?IDaRee0LihZKg32UxzwrWy5O7cduF8H7ACNupBgQ6OkllbHYgWsa4ETLJ/ZV?= =?us-ascii?q?Bd7qjXqRbmC4T9WPjmj3UwP+WvQs9G6cAZq2ci4gGnShqv85hD9agUiIyIdq?= =?us-ascii?q?NfZZjMvdx84Fln5TEVayxNmwJzjxWnXuAAvOrj+MTUsIK06uayU6YgX+oX+A?= =?us-ascii?q?YyB2RiiJvwh1cvocrJ2OdYS43Vj5n/8Q9WLn6OponayRl9JvAUJ4KtYrlg62?= =?us-ascii?q?0NJzICKHIWIdqWd/487jdrMDXS+1NCBccMaskDPMbXmABUjUrpWKpI9sfAH1?= =?us-ascii?q?+VBIhye9ov72rtxzA/6YE8Xfr46D+qOZDf6ElAP/xfgyV3j9LOvfUbz/XUBi?= =?us-ascii?q?gW53mZdhd0zziNy5mIEfnw+/uDxMvTV1McES48S51dKyaa+Qy7Wuq1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Vg0eMecfdiKyg9tcASmo557omUysiKewnLzp?= =?us-ascii?q?nuPdHVvuSYA/rHwkQxdGFaV6YWbAL26oghIN42RafTHbpYvBQbA6g2WpohOH?= =?us-ascii?q?nt9PI8EAQmaQPVZbKpkuH2t+mLYd1SvHaQ4VUufwnGvBhW8eC5VQx2adiRgn?= =?us-ascii?q?z2JJ0hDmZao8ZFFgptHIwJHdgJ6QWgHcjHy+mAl9at9hYi6Kcxuq3qB6WPjo?= =?us-ascii?q?y0?= X-IPAS-Result: =?us-ascii?q?A2CTAgBvWOta/wHyM5BcGQEBAQEBAQEBAQEBAQcBAQEBA?= =?us-ascii?q?YMYK4FbFRODbYhgjBGBPYFKkxsUgVssEwGGciE2FgECAQEBAQEBAgFrKII1J?= =?us-ascii?q?IJQAwMBAiAPAUYDAwkBASQCIgQCAgMBUxkFgldcgUoNqUaCHIRYg2+CQoEJh?= =?us-ascii?q?xyCE4EPh0cfZII0glQCjBCMCgiOQQuMWSuRPCMDLoFSKwgCGAghD4J+gh0aj?= =?us-ascii?q?jNTegEBjTeCRgEB?= Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by emsm-gh1-uea11.NCSC.MIL with ESMTP; 03 May 2018 18:50: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 w43IogIL006182; Thu, 3 May 2018 14:50:42 -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 w43IlX6E063581 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Thu, 3 May 2018 14:47:33 -0400 Received: from moss-pluto.infosec.tycho.ncsc.mil (moss-pluto [192.168.25.131]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id w43Ilb9r005857; Thu, 3 May 2018 14:47:39 -0400 From: Stephen Smalley <sds@tycho.nsa.gov> To: selinux@tycho.nsa.gov Date: Thu, 3 May 2018 14:48:43 -0400 Message-Id: <20180503184845.19790-3-sds@tycho.nsa.gov> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180503184845.19790-1-sds@tycho.nsa.gov> References: <20180503184845.19790-1-sds@tycho.nsa.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [PATCH 2/4] libselinux: fix build warning in save_booleans() 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> Cc: Stephen Smalley <sds@tycho.nsa.gov> Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" <selinux-bounces@tycho.nsa.gov> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/libselinux/src/booleans.c b/libselinux/src/booleans.c index 1da55bfd..b3ea3623 100644 --- a/libselinux/src/booleans.c +++ b/libselinux/src/booleans.c @@ -416,7 +416,7 @@ static int save_booleans(size_t boolcnt, SELboolean * boollist) ssize_t ret; size_t size = 0; int val; - char boolname[BUFSIZ]; + char boolname[BUFSIZ-3]; char *buffer; inbuf = NULL; __fsetlocking(boolf, FSETLOCKING_BYCALLER); @@ -450,6 +450,7 @@ static int save_booleans(size_t boolcnt, SELboolean * boollist) } } if (i == boolcnt) { + val = !!val; snprintf(outbuf, sizeof(outbuf), "%s=%d\n", boolname, val); len = strlen(outbuf); @@ -505,6 +506,7 @@ int security_set_boolean_list(size_t boolcnt, SELboolean * boollist, size_t i; for (i = 0; i < boolcnt; i++) { + boollist[i].value = !!boollist[i].value; if (security_set_boolean(boollist[i].name, boollist[i].value)) { rollback(boollist, i); return -1;
Fix the following warning in save_booleans(). We could likely drop the function altogether, either ignoring or returning EINVAL if a non-zero permanent argument is passed to security_set_boolean_list(), since setting persistent booleans is now handled via libsemanage. This code and the corresponding security_load_booleans() code is legacy from RHEL4 days and could be removed although we would need to keep the ABI for compatibility. booleans.c: In function ‘save_booleans’: booleans.c:441:13: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Werror=format-truncation=] "%s=%d\n", boolname, ^~ booleans.c:440:7: note: ‘snprintf’ output between 4 and 8205 bytes into a destination of size 8192 snprintf(outbuf, sizeof(outbuf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s=%d\n", boolname, ~~~~~~~~~~~~~~~~~~~~ boollist[i].value); ~~~~~~~~~~~~~~~~~~ booleans.c:454:12: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Werror=format-truncation=] "%s=%d\n", boolname, val); ^~ booleans.c:453:6: note: ‘snprintf’ output between 4 and 8205 bytes into a destination of size 8192 snprintf(outbuf, sizeof(outbuf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s=%d\n", boolname, val); ~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> --- libselinux/src/booleans.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)