Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp185751lqo; Thu, 9 May 2024 17:24:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTVXLF8qIL0l2Zd0rbwgWlmnuGL9G/P9uZasy8iHiQW35zqWUfcGMO85KxJRBsTkK/AYZZTU4y/khjttL8cJZeJN56Q2YftvQJKkP+ag== X-Google-Smtp-Source: AGHT+IH7TdOMvVkWEWIjemm5oFyH838xiFbMkmLpIaArZeXZwk5BhyQ/RFuVqZuySwL3tJxjPktt X-Received: by 2002:a05:6102:c86:b0:47f:290:47e6 with SMTP id ada2fe7eead31-48077e7b66fmr1305389137.24.1715300661400; Thu, 09 May 2024 17:24:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300661; cv=pass; d=google.com; s=arc-20160816; b=eMynOEl2rD3zntKKhdw3E66tADoOlTQMMPwyGJSV48SCiVtjr4EQ6FQ6kE1YcXmpGA sPStdplpXPMyV6511v2ROPmOuJzseDSzTNxo/gBq15c9gaWg8MHZ0orPYB69Az3VJtnh 8itKv5gDzry2HenJqsVyrnA3K2SFBKOpVyUg5XkBQBnyxxe5Q7mc+Uo/TAD5EK4yEPaI yOtpAljqGpiqp19zAlusQEowLwf8nKdZ7zSvaHE28UfDGw1hmRb25RRnhyOSHs7SgZpO +3MsFr/FzlbDxaWjLGFWtPbxEyEb7G24iPsPbh50jQc6RLRHQTaYW1W7WLnpPLKlklVS d/LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=E6lzqQHkZ7UbUp5/JYGP0dVw4+7EC0TjPo8a/HimOnA=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=ACUDcjEqqhMvqUDhO8lmo6tpRN3PGCXi+G1x82ZMaMVM/M8fF7SfJXtEXV+Srz0RLp PBvhcWZifGY13mlqwhyxqlXZLoAJYzrspDwAhwNF2cW3vTdgFrEFc2fQLuKwxkFoHkvi kQyfqqBWMuoVJAhZenEaAy6LBOlmcxcC1nrFiv2xy1px1sMiKExMSyJud1E0gKs1UQNt hSEhSirKunuIDquqFGv6tlF3ZOg7k+3R998a6c6EWTJ9Z7GIEldb2Ds0fRCUgdz6IgST lLGPz4fy5idsbuHqPtWKZLyEY3S+e1dpTt1H+Tex5SwpymsuedhClYThsvm/w8hT45n8 qxRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=t368pgfm; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-175135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df56c3e5esi25616271cf.620.2024.05.09.17.24.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:24:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=t368pgfm; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-175135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 219091C20ACE for ; Fri, 10 May 2024 00:24:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B3E6138486; Fri, 10 May 2024 00:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="t368pgfm" Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 395F91B964 for ; Fri, 10 May 2024 00:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299856; cv=none; b=KPUOq30yoiPlypY86aG0DXON+d+7c/6g0QWQ3ObyiMTwneHW6U/7xoZ35zMoy/0LB2PtCrwx0e1hU9PrNPbNrACJDnMLhPDeQAMi6bSw7+7ixWMvY8zPMcdS/QnVo5e9q6wHxQip3Nm6PGzfh0r4sb6Sbj5EqajUY29Wq+JxCO4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299856; c=relaxed/simple; bh=ZxYHMzsoZPBhe6wVFpFAsxN6ce0FvlmZwe4nciTKWPA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=PpvoXGNZvkhqEy1DwLQxBswIg4A2W124EB0joCofI4AVOWuEHqp4v0GxKZpRUI2tCctlwHjxVJcRTPwWN4amgRVoOjSqMI/mkWFHoFi0Jxr8dSA08EOETiqQbz3gYgNGRLAMmsHiwtAdWN0R7XV6Cozhyx66AUkekicpiT0O1xM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=t368pgfm; arc=none smtp.client-ip=209.85.216.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2b3773153feso1250974a91.0 for ; Thu, 09 May 2024 17:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299855; x=1715904655; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=E6lzqQHkZ7UbUp5/JYGP0dVw4+7EC0TjPo8a/HimOnA=; b=t368pgfmKjCxpaMmRHP4my+9zi1D+prd7r4/+33K64PptxivpePZZ/l4BUC7TtxpBw ot2LoGcxng80p/+jH7FWRfziW1BrmmeGQmdcPihgBV9Mm3nLqDgJitytxx8NbcXL92IP EyAbgZQ6QZSPcHg/Gg8/IISqPGupyAas1YOxodalU2/GQdGh0xo7KlupCpv/LxneCbpe 8pw9tYlSQrtGk/DAr0WLeEWDZ0d31qjlq7NMg6AqXmklBbCgO8Z0banoFqW8xtdRJsMV lS7/2vEYpBtS/dqXu8BQhY9T3ZIgstTl9meyzu9YhldlgtRsx/kvr4F7iCmS2wXr9wRi eEAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299855; x=1715904655; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E6lzqQHkZ7UbUp5/JYGP0dVw4+7EC0TjPo8a/HimOnA=; b=SImOrLCiXvxUhHWEZj8Y4oMP60yFPWBhLEGudaSeRdoKSx2K5COZZ8kaBC6MfxM3II vjWFBhGT53LWZ31AeMb1zlv6YbuvIxO5VEx4suIZbMnE0a/Pv2s4GIDld7YTziQNgVq8 fu7L+9aSy+4+/LxgFmqoLYV1QAcvCr36EPH6zIC5nyDh+2UIcSgFRYDENk8oDl3uP4Sl mEY5UWm3ZRopdhtxlUv89M8vAAjNGo53OuQexqhDY06mxpRq2d4DW0NV5pymNPQb4KEV nFjyOxlp7TcdagekA5NkndOGKrEzQSs0sNOMk8WumWK6cJ1JJBtbr8emBq43DAN2iPxz es+w== X-Gm-Message-State: AOJu0Yxv515wSOYkkwn40+hnz0Z8tDcNJqZQPQn+yrd70kgbHyraS/Lm t0eH9uOCaGLjd5MJFR0kqUYq+4/LY0K7zcIqt0UHkPHL95VMqQBvgx9eKPee3i+RPX3Ahu1sY79 feQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90b:4f89:b0:2b3:5eb5:6a76 with SMTP id 98e67ed59e1d1-2b6cc450277mr3687a91.3.1715299854746; Thu, 09 May 2024 17:10:54 -0700 (PDT) Date: Fri, 10 May 2024 00:06:55 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-39-edliaw@google.com> Subject: [PATCH v4 38/66] selftests/nsfs: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw , linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/nsfs/owner.c | 1 - tools/testing/selftests/nsfs/pidns.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/nsfs/owner.c b/tools/testing/selftests/nsfs/owner.c index 96a976c74550..975834ef42aa 100644 --- a/tools/testing/selftests/nsfs/owner.c +++ b/tools/testing/selftests/nsfs/owner.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/nsfs/pidns.c b/tools/testing/selftests/nsfs/pidns.c index e3c772c6a7c7..9136fcaf3f40 100644 --- a/tools/testing/selftests/nsfs/pidns.c +++ b/tools/testing/selftests/nsfs/pidns.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog