From patchwork Wed Apr 6 00:21:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Kralevich X-Patchwork-Id: 8756791 Return-Path: X-Original-To: patchwork-selinux@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CEC9DC0553 for ; Wed, 6 Apr 2016 00:24:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C56AA202F8 for ; Wed, 6 Apr 2016 00:24:06 +0000 (UTC) Received: from emvm-gh1-uea08.nsa.gov (smtp.nsa.gov [8.44.101.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF918202F2 for ; Wed, 6 Apr 2016 00:24:05 +0000 (UTC) X-TM-IMSS-Message-ID: <0c094e2f00085e7a@nsa.gov> Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by nsa.gov ([10.208.42.193]) with ESMTP (TREND IMSS SMTP Service 7.1) id 0c094e2f00085e7a ; Tue, 5 Apr 2016 20:21:13 -0400 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 u360LNrW020289; Tue, 5 Apr 2016 20:21:33 -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 u360LK4i037774 for ; Tue, 5 Apr 2016 20:21:20 -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 u360LKgZ020287 for ; Tue, 5 Apr 2016 20:21:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1DIAAAqVgRXcrHAVdFcHYRqpy0BBpF5gmtGBVmGDYIQAQEBAQEBEwEKCxQKFYR1ARUuAQE3AYEUAQUBV4gFoRuBMT4xik+FKAEEjSoBAQgCGAYKhA2BQYoegXwLQIJDjkaJQIQwiVsCgU+HWoVhAkWNGi+BDoJZghAcMIg3AQEB X-IPAS-Result: A1DIAAAqVgRXcrHAVdFcHYRqpy0BBpF5gmtGBVmGDYIQAQEBAQEBEwEKCxQKFYR1ARUuAQE3AYEUAQUBV4gFoRuBMT4xik+FKAEEjSoBAQgCGAYKhA2BQYoegXwLQIJDjkaJQIQwiVsCgU+HWoVhAkWNGi+BDoJZghAcMIg3AQEB X-IronPort-AV: E=Sophos;i="5.24,445,1454994000"; d="scan'208";a="5353500" Received: from emvm-gh1-uea09.nsa.gov ([10.208.42.194]) by goalie.tycho.ncsc.mil with ESMTP; 05 Apr 2016 20:21:19 -0400 X-TM-IMSS-Message-ID: <57e6dce40007f8a2@nsa.gov> Received: from mail-pf0-f177.google.com (mail-pf0-f177.google.com [209.85.192.177]) by nsa.gov ([10.208.42.194]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 AES128-SHA (128/128)) id 57e6dce40007f8a2 ; Tue, 5 Apr 2016 20:20:22 -0400 Received: by mail-pf0-f177.google.com with SMTP id n1so21093507pfn.2 for ; Tue, 05 Apr 2016 17:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=nVawRA+Yst3LzQZEb7mHCYaTvmMmkiciobVbhNKLmJ4=; b=U+l0BikAFaGChD/aQFZvlYcFHTgZt1nWHbT4fePN/eIjao823SCM2KLAIwrNkZ3iD0 sm/T7m5tzbO3mdTFXzohgym7NRawjfRR9EyGi1zYUORE0P4CCnKAe1qCDyDro8Nl+wv2 /2pi1GZ6W9q7WRTPvcrVe1gXMbsJUMN2JRcyeHf58SRZ53+FEmk7HozxzLdAX1g3ksmr dEtHRf+3jLAi/1LXolTAzEry2RfjknD3TUU2SmZo4UXcDQGinSeb0liBQI6Q6cFovAnM NM/rWdbYJm5peOfkUQ4CmYC1GxiBiy4GxhAkqNmJW2vKy8B94vQX9zq2PPdQCSgTTz/4 dhnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nVawRA+Yst3LzQZEb7mHCYaTvmMmkiciobVbhNKLmJ4=; b=KTCU8ybs15OO0+kE0+CcV88IEna323Ai2LRmcvv15dqtqr91yRzNQlgp2fqbDRdzQs Il9vYDkWq6JJ/BlggKMpJVKb7FFMU56io3kYYnuYIdLFfpJx33LWbXZTJX7zmWeLZbxt cCD+toL+BuxmgpXz9Th7thvdwbYWwPdVzMmUcQI7ETvAl0H9UpAT9/jOoBqnCTmfPCR5 7+PNYJ7Y7U37nDb5g/IOzd55N7Y8gIqONofmLW170ETzfl3eE+u6j44zJ0l9sU2bkE/k dUChd9J31cQpTadww2rojOu8tW8be0Wq1bDJpEnuq4rNrkU6wzfx4Mv9875VX/On2y/F PUjQ== X-Gm-Message-State: AD7BkJKyGqr+5WXmA1cb7aNxBU+fDcJZZJZqMd+sk0YY3DS/u7vOUb3keqZRakwwwKq2RWfz X-Received: by 10.98.69.75 with SMTP id s72mr34900005pfa.66.1459902077853; Tue, 05 Apr 2016 17:21:17 -0700 (PDT) Received: from nick.mtv.corp.google.com ([172.22.113.110]) by smtp.gmail.com with ESMTPSA id 22sm188924pfh.48.2016.04.05.17.21.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 17:21:17 -0700 (PDT) From: Nick Kralevich To: selinux@tycho.nsa.gov Subject: [PATCH] cil_mem.c: #define _GNU_SOURCE Date: Tue, 5 Apr 2016 17:21:14 -0700 Message-Id: <1459902074-127953-1-git-send-email-nnk@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 X-TM-AS-MML: disable X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the following compiler error: external/selinux/libsepol/cil/src/cil_mem.c:109:7: warning: implicit declaration of function 'vasprintf' is invalid in C99 [-Wimplicit-function-declaration] --- libsepol/cil/src/cil_mem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libsepol/cil/src/cil_mem.c b/libsepol/cil/src/cil_mem.c index 12c59be..023e6bd 100644 --- a/libsepol/cil/src/cil_mem.c +++ b/libsepol/cil/src/cil_mem.c @@ -27,6 +27,7 @@ * either expressed or implied, of Tresys Technology, LLC. */ +#define _GNU_SOURCE #include #include #include