From patchwork Tue Sep 24 18:19:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 11159453 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CB1F71800 for ; Tue, 24 Sep 2019 18:19:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EC42214DA for ; Tue, 24 Sep 2019 18:19:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569349161; bh=aWlPmWqfZq2lj10XsC0BV0bmg+2MmDTqAHA4uFmBY7s=; h=From:To:Cc:Subject:Date:List-ID:From; b=fBg9X7Iy6J8iYbrk5KseOr2qfiElvDr/fY2zPpNHafWyvtgOkllsVJh7RgWk30d6F eZXLuxfV8GpCW1t7ckwk2MwafrdiOqPW3uNTREK2rRRmKklYMKgllbfqFKPN+Hk1xq mhFz48grvIfvNSro2BfxSJ0QLRc+jjLR9WbDOhcQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389966AbfIXSTR (ORCPT ); Tue, 24 Sep 2019 14:19:17 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:42050 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730620AbfIXSTP (ORCPT ); Tue, 24 Sep 2019 14:19:15 -0400 Received: by mail-io1-f68.google.com with SMTP id n197so6778297iod.9 for ; Tue, 24 Sep 2019 11:19:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/dWtz09nJO4hFU7Ulq0JLtoYNZLA+KfaYtQXCXTt8ow=; b=aEk5PLemQu3DgvDBiFMMxF0WeEEMuwlfRHEddND4uzLcLivGLNgDaT5IU43kMbT5ph N7VsheGN2yCC6LYOt9wqz8b4K/g4XdHbho+7vwCvHNsEKy5tVCcwyAZU22JJAouMQj68 PGELCCvhTictzhHBYPoL2gmJuHbyFgthyNw54= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/dWtz09nJO4hFU7Ulq0JLtoYNZLA+KfaYtQXCXTt8ow=; b=j53ra/LKFU29bkH4zV6iejwmaBtRelxle/riTq4JmHZ5Sj8uqhlHegdHoDFpoPN/iK FfAmWfPrQfseVMYvt44qUKYAbauSA9fnb3PqPikazSGaXN/C6dU1zkgzpPpKTl4p2xk8 qPOHJzaIteIiRQhAmFjHz5L+52TcWObbUBsCo7UISKYoZENoYqnxhKY9P3oBBW0Gss2T bfI5uH78nfzmgMeBEHlMriiMAhaeftfTg6d/hq4WseDYAzUH9hYJxZI+Aw2zSpmz30Jv D3gY8dVOwEUFcVpZjHMi01Wer8gpbwdL301EYZ7Im+wf4hfX6L/cfnPnj8uGJhlIdFTF 2TNg== X-Gm-Message-State: APjAAAWPbIcC3VqVG97TkwkAQGZXBxfn82JHTxvsv4XLgtKFV0L7Zww7 T/+eTIFiz2ShfmlJ/zNBwm7Tqg== X-Google-Smtp-Source: APXvYqw5G9w1Hq0izxonTjGpA6+o4/plQtNgcgvfah4SR3PZtF0+mIvnQk9AvTg1fLFlJEW7wBxAtQ== X-Received: by 2002:a02:5585:: with SMTP id e127mr107945jab.25.1569349153357; Tue, 24 Sep 2019 11:19:13 -0700 (PDT) Received: from shuah-t480s.internal (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id w7sm3627033iob.17.2019.09.24.11.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 11:19:12 -0700 (PDT) From: Shuah Khan To: shuah@kernel.org, gregkh@linuxfoundation.org, rfontana@redhat.com, kstewart@linuxfoundation.org, allison@lohutok.net, tglx@linutronix.de Cc: Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] selftests: execveat: Fix _GNU_SOURCE redefined build warn Date: Tue, 24 Sep 2019 12:19:09 -0600 Message-Id: <20190924181910.23588-1-skhan@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Fix the following _GNU_SOURCE redefined build warn: execveat.c:8: warning: "_GNU_SOURCE" redefined Signed-off-by: Shuah Khan --- No code changes. Sending to right people. tools/testing/selftests/exec/execveat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/exec/execveat.c b/tools/testing/selftests/exec/execveat.c index cbb6efbdb786..045a3794792a 100644 --- a/tools/testing/selftests/exec/execveat.c +++ b/tools/testing/selftests/exec/execveat.c @@ -5,7 +5,9 @@ * Selftests for execveat(2). */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE /* to get O_PATH, AT_EMPTY_PATH */ +#endif #include #include #include