Message ID | 1476735850-7844-3-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 235D2600CA for <patchwork-selinux@patchwork.kernel.org>; Mon, 17 Oct 2016 20:29:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 175C128F34 for <patchwork-selinux@patchwork.kernel.org>; Mon, 17 Oct 2016 20:29:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C2B928F4D; Mon, 17 Oct 2016 20:29:22 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58B6328F34 for <patchwork-selinux@patchwork.kernel.org>; Mon, 17 Oct 2016 20:29:20 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,358,1473120000"; d="scan'208";a="20137981" IronPort-PHdr: =?us-ascii?q?9a23=3A3CC+khXqnEC7fzNRDwv9jDnwCtbV8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYZh2Ft8tkgFKBZ4jH8fUM07OQ6PG6HzFaqs/a4TgrS99lb1c9k8?= =?us-ascii?q?IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9?= =?us-ascii?q?HOnpAIma153xjLHovcCJKFwT1XKUWvBbFF2OtwLft80b08NJC50a7V/3mEZOYP?= =?us-ascii?q?lc3mhyJFiezF7W78a0+4N/oWwL46pyv/NaVe3GW4hwDfkBVHV1e1wysdbmsRjF?= =?us-ascii?q?UBun+moXUmJQlAFBRQfC8lWyRZr4tCfgsetxnS2bJtHeUaE/WTPk6bxiDhDvlm?= =?us-ascii?q?NPLDIi2H3Ggcx3yqRAqVSuoAIs7ZTTZdSKNf56f6rYO9hcX21LU9xNTARABJ+x?= =?us-ascii?q?a80ECO9Sbq5js4Dhqg5W/lOFDg62Cbaqk2dF?= X-IPAS-Result: =?us-ascii?q?A2GvBgAtNAVY/wHyM5BbGwEBAQMBAQEJAQEBFwEBBAEBCgE?= =?us-ascii?q?BgxEBAQEBAR2BU6Q6gVuUWyeHdEwBAQEBAQEBAQIBAlsngjIEAxMFghECBAECN?= =?us-ascii?q?xQgDgMJAQEXCCEICAMBLRURBwcLBRgEiDHCViaIQoZpEQGFewWaBpAEAol+hXV?= =?us-ascii?q?JkDJUhVtWAYZgeIEoAQEB?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP; 17 Oct 2016 20:28:55 +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 u9HKSs2g001007; Mon, 17 Oct 2016 16:28:54 -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 u9HKOv1l165457 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 u9HKOuRX032743; Mon, 17 Oct 2016 16:24:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1DuBQC1MgVY/yNjr8ZbGgEBAQECAQEBAQgBAQEBgzwBAQEBAR2BU6Q6kimEF4Ixg3ECgW1MAQIBAQEBAQJehQkCBHkQIDFXBxKIUsJIAQEIKIhCjHYFmgaQBAKPc0mQMlSFWyI0AYkAAQEB X-IPAS-Result: A1DuBQC1MgVY/yNjr8ZbGgEBAQECAQEBAQgBAQEBgzwBAQEBAR2BU6Q6kimEF4Ixg3ECgW1MAQIBAQEBAQJehQkCBHkQIDFXBxKIUsJIAQEIKIhCjHYFmgaQBAKPc0mQMlSFWyI0AYkAAQEB X-IronPort-AV: E=Sophos;i="5.31,358,1473134400"; d="scan'208";a="5767604" 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=3ARDfrKxLKNLS6CApfEtmcpTZWNBhigK39O0sv0rFi?= =?us-ascii?q?tYgVK/vxwZ3uMQTl6Ol3ixeRBMOAuqgC1rCd6vuxEUU7or+5+EgYd5JNUxJXwe?= =?us-ascii?q?43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkIt?= =?us-ascii?q?f6KuS9SU0p78jrvjs7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJce?= =?us-ascii?q?kFjUlhJFaUggqurpzopM0r221qtvkg789NV7nhN+R9FOQATWcQCGcv+MDnjxTI?= =?us-ascii?q?TBPVrjtACiRF2iZPVhPI6BD8Q4fZrjrxtu073jKTe8LxU/R8Qjmr6atxTx7kzS?= =?us-ascii?q?MGLCIR7HDciss2irlS5h2muVg32ILPSJ2EP/p5OKXGdJUVQnQScNxWUnleA4e4?= =?us-ascii?q?boIKSeFHJ+FSopPhvHMPqwezAU+nA+a8mXdzmnbq0PhigKwaGgbc0VllQYoD?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0G1BQAxMwVY/yNjr8ZbGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBFgEBAQMBAQEJAQEBgxEBAQEBAR2BU6Q6gVuQToQXhiICgW1MAQEBAQE?= =?us-ascii?q?BAQECAQJbJ4IyBAEVBYIRAgR5ECAxVwcSiFLCSAEBCAIBJYhCjHYFmgaQBAKPc?= =?us-ascii?q?0mQMlSFWyI0AYc/gUEBAQE?= X-IPAS-Result: =?us-ascii?q?A0G1BQAxMwVY/yNjr8ZbGgEBAQECAQEBAQgBAQEBFgEBAQM?= =?us-ascii?q?BAQEJAQEBgxEBAQEBAR2BU6Q6gVuQToQXhiICgW1MAQEBAQEBAQECAQJbJ4IyB?= =?us-ascii?q?AEVBYIRAgR5ECAxVwcSiFLCSAEBCAIBJYhCjHYFmgaQBAKPc0mQMlSFWyI0AYc?= =?us-ascii?q?/gUEBAQE?= X-IronPort-AV: E=Sophos;i="5.31,358,1473120000"; d="scan'208";a="20137872" Received: from fmsmga002-icc.fm.intel.com ([198.175.99.35]) by emsm-gh1-uea11.nsa.gov with ESMTP; 17 Oct 2016 20:24:47 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga002-icc.fm.intel.com with ESMTP; 17 Oct 2016 13:24:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.31,358,1473145200"; d="scan'208"; a="1046007544" 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:46 -0700 From: william.c.roberts@intel.com To: selinux@tycho.nsa.gov, seandroid-list@tycho.nsa.gov, sds@tycho.nsa.gov Subject: [PATCH 3/8] libselinux: fix mac build warning when ANDROID_HOST=y Date: Mon, 17 Oct 2016 16:24:05 -0400 Message-Id: <1476735850-7844-3-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/src/label_internal.h b/libselinux/src/label_internal.h index 6a9481a..3d7ff74 100644 --- a/libselinux/src/label_internal.h +++ b/libselinux/src/label_internal.h @@ -16,8 +16,8 @@ #include "dso.h" #include "sha1.h" -#ifdef ANDROID -// Android does not have fgets_unlocked() +#if defined(ANDROID) || defined(__APPLE__) +// Android and Mac do not have fgets_unlocked() #define fgets_unlocked(buf, size, fp) fgets(buf, size, fp) #endif