Message ID | 1476735850-7844-5-git-send-email-william.c.roberts@intel.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.web.codeaurora.org (Postfix) with ESMTP id 0371D600CA for <patchwork-selinux@patchwork.kernel.org>; Mon, 17 Oct 2016 20:25:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E943A28F12 for <patchwork-selinux@patchwork.kernel.org>; Mon, 17 Oct 2016 20:25:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D93E228F2B; Mon, 17 Oct 2016 20:25:57 +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 3A94B28F12 for <patchwork-selinux@patchwork.kernel.org>; Mon, 17 Oct 2016 20:25:56 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,358,1473120000"; d="scan'208";a="18713619" IronPort-PHdr: =?us-ascii?q?9a23=3AdLKQCRD4z5xU7m/jlniEUyQJP3N1i/DPJgcQr6Af?= =?us-ascii?q?oPdwSP7ypcbcNUDSrc9gkEXOFd2CrakV0ayL6eu5Aj1IyK3CmUhKSIZLWR4BhJ?= =?us-ascii?q?detC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBy?= =?us-ascii?q?brysXNWD1YLqjavroMybSj4LrQL1Wal1IhSyoFeZnegtqqwmFJwMzADUqGBDYe?= =?us-ascii?q?VcyDAgD1uSmxHh+pX4p8Y7oGxtofZpy+psGeW/Jvx5HvRkC2E9PmQ04tD7nQXS?= =?us-ascii?q?RguIoH0HWyMZlQQMSxPI5Rf2RJDwvm7+t/Fh8DWLNs3xC7YvUHKt6LkvAATkkw?= =?us-ascii?q?8bJjU59yfRkcU2g6VF8zy7oBkq3I/QZICcMbx1OLnad94AWXFpX8BNWigHCYS5?= =?us-ascii?q?PNhHNPYIIesN99q1nFAJtxbrQFD0CQ=3D=3D?= X-IPAS-Result: =?us-ascii?q?A2GxBgDOMgVY/wHyM5BbGwEBAQMBAQEJAQEBFwEBBAEBCgE?= =?us-ascii?q?BgxEBAQEBAR2BU6Q6gVuOHYY+J4d0TAEBAQEBAQEBAgECWyeCMgQDEwWCEQIEA?= =?us-ascii?q?QI3FCAOAwkBARcIIQgIAwEtFREHBwsFGASIMcJUJohChmcCEQGFewWaBpAEAol?= =?us-ascii?q?+hXVJkDJUg1AcgW9WAYZRDxdhgSgBAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea10.nsa.gov with ESMTP; 17 Oct 2016 20:25:53 +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 u9HKOwFS000435; Mon, 17 Oct 2016 16:25:08 -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 u9HKOvFv165460 for <selinux@prometheus.infosec.tycho.ncsc.mil>; Mon, 17 Oct 2016 16:24:57 -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 u9HKOuRY032743; Mon, 17 Oct 2016 16:24:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1AiBAC1MgVY/yNjr8ZbGgEBAQECAQEBAQgBAQEBgzwBAQEBAR2BU6Q6j3iCMYQXhiICgW1MAQIBAQEBAQJehQkCBHkQIDFXBxKIUsJIAQEBByiIQoZnhg8FmgaQBAKPc0mQMlSDUByBbyI0AYZRgi8BAQE X-IPAS-Result: A1AiBAC1MgVY/yNjr8ZbGgEBAQECAQEBAQgBAQEBgzwBAQEBAR2BU6Q6j3iCMYQXhiICgW1MAQIBAQEBAQJehQkCBHkQIDFXBxKIUsJIAQEBByiIQoZnhg8FmgaQBAKPc0mQMlSDUByBbyI0AYZRgi8BAQE X-IronPort-AV: E=Sophos;i="5.31,358,1473134400"; d="scan'208";a="5767605" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 17 Oct 2016 16:24:55 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3AJRT4rhdamL99X4+lSip7ZvMilGMj4u6mDksu8pMi?= =?us-ascii?q?zoh2WeGdxc+7Yx7h7PlgxGXEQZ/co6odzbGH6ea9AydZusfJmUtBWaQEbwUCh8?= =?us-ascii?q?QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4?= =?us-ascii?q?Ov7yUtaLyZ/mjabvodaKOFQArQH+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf?= =?us-ascii?q?9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t/vQsgPf?= =?us-ascii?q?QAe163AdSj9e0kYQQluN0BavRZr1sy3npsJhySKaOovwVrlyVjO8q+9wRRbuhD?= =?us-ascii?q?0ANjJ89GDMluRsnalbp1SnvBU5zInKJMmOOOFWYrLWfdRcQ3FIGMlWSX9vGIS5?= =?us-ascii?q?OpQOC+4ANOMepM/noFEDtwelLQiqGO7rjDRPgyyllZYm2vgsRFmVlDcrGMgD5T?= =?us-ascii?q?GK9Ng=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0G2BQAxMwVY/yNjr8ZbGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBFgEBAQMBAQEJAQEBgxEBAQEBAR2BU6Q6gVuOHYIxhBeGIgKBbUwBAQE?= =?us-ascii?q?BAQEBAQIBAlsngjIEARUFghECBHkQIDFXBxKIUsJIAQEBBwIBJYhChmeGDwWaB?= =?us-ascii?q?pAEAo9zSZAyVINQHIFvIjQBhlFugUEBAQE?= X-IPAS-Result: =?us-ascii?q?A0G2BQAxMwVY/yNjr8ZbGgEBAQECAQEBAQgBAQEBFgEBAQM?= =?us-ascii?q?BAQEJAQEBgxEBAQEBAR2BU6Q6gVuOHYIxhBeGIgKBbUwBAQEBAQEBAQIBAlsng?= =?us-ascii?q?jIEARUFghECBHkQIDFXBxKIUsJIAQEBBwIBJYhChmeGDwWaBpAEAo9zSZAyVIN?= =?us-ascii?q?QHIFvIjQBhlFugUEBAQE?= X-IronPort-AV: E=Sophos;i="5.31,358,1473120000"; d="scan'208";a="20137875" Received: from fmsmga002-icc.fm.intel.com ([198.175.99.35]) by emsm-gh1-uea11.nsa.gov with ESMTP; 17 Oct 2016 20:24:50 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga002-icc.fm.intel.com with ESMTP; 17 Oct 2016 13:24:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.31,358,1473145200"; d="scan'208"; a="1046007563" Received: from mcohen2-mobl.amr.corp.intel.com (HELO wcrobert-MOBL1.amr.corp.intel.com) ([10.254.186.130]) by orsmga001.jf.intel.com with ESMTP; 17 Oct 2016 13:24:49 -0700 From: william.c.roberts@intel.com To: selinux@tycho.nsa.gov, seandroid-list@tycho.nsa.gov, sds@tycho.nsa.gov Subject: [PATCH 5/8] libselinux/utils: add noreturn to sefcontext_compile Date: Mon, 17 Oct 2016 16:24:07 -0400 Message-Id: <1476735850-7844-5-git-send-email-william.c.roberts@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1476735850-7844-1-git-send-email-william.c.roberts@intel.com> References: <1476735850-7844-1-git-send-email-william.c.roberts@intel.com> 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> 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 |
diff --git a/libselinux/utils/sefcontext_compile.c b/libselinux/utils/sefcontext_compile.c index 6b564b4..54600e2 100644 --- a/libselinux/utils/sefcontext_compile.c +++ b/libselinux/utils/sefcontext_compile.c @@ -266,7 +266,7 @@ static void free_specs(struct saved_data *data) memset(data, 0, sizeof(*data)); } -static void usage(const char *progname) +static __attribute__ ((__noreturn__)) void usage(const char *progname) { fprintf(stderr, "usage: %s [-o out_file] [-p policy_file] fc_file\n"