Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp79240lqo; Thu, 9 May 2024 13:13:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXYQ/DSf8MdRq4CT7kAt3z7zYoXh1k6xL5vEWpEwKepf1tyTQ3XFUQwjvLFPgosRO+NCKG+TJjsQ5C1D9TEPEmUHsUTYkOeR9GezZI9g== X-Google-Smtp-Source: AGHT+IEIkQ+lvx81aehRpIhXn0mKp31myRt5xSq7yw8DE2SekJdoOQUbyoXUfW6jAUifgyqiOBC4 X-Received: by 2002:a5d:5242:0:b0:343:41ef:ab1e with SMTP id ffacd0b85a97d-3504a96a550mr412928f8f.44.1715285589565; Thu, 09 May 2024 13:13:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285589; cv=pass; d=google.com; s=arc-20160816; b=q3KpwLgwBCBlEE99TqQ1hY1t+8MKLUtPFwhBuDKdTOCS081YkhDHB1HXSwfwkClzof uLwuwtLTW6Xz/GCDqn8geJZmn4SlZ39zWznTaq+N0t2ccGNKPBMbK+q/3C73DdUn9gh1 Zql0t4n7ucN02RkPsmxK8zlS3SrfETNATPLcdSolfSAH5X8gXJRxOr39H1yPXocRzp/F UaPjSdBHFg65c3a09r4IdMuE4iQOCjdLJF2Frxz5ETJdeeWxMHji7mf3yd4k4JfOuPWv c7jOi5ziDwfBRu50kqwJ3ESYNwJSEHBilfvO6KY6RggiRtxmGLVZgFrDOEBOtk6g4K5B Pjgw== 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=t/Pst5TQmmPDAJyMHgqtrqTxRb697RB0f9O6Gjfco/Q=; fh=mms7+Ggd8cXQnqDYyIurrP3huBSbSPcW9NevdFqXMcY=; b=roipK9Q7Vq4XPbGqHewYGocIaxs41DeeX7Vv6/vfzNYZbT1/KrJMbi0AjdRUMCNBQ5 mm06Tzv4ufk15wbR2GHK1n+T4u+Q3JW8cN/lUv5agnsViIM/17i6BbIsXHo0olt7GMGW JMgMuiOywgLgTev5ZmiI+qDqIaVER/p6gO2AI4PTdlAKyr8kScH7S9ZH7WJ8nUBFHv2+ j1WSmA9jhwoZiahAnOUFy5exhgon/ir3wWqDlmeYZsBB4OPMvrUVsXzAriMSQL1Pum2a t1GVbsl4YJ2aPr9M5LLM53PEicSG8lzx2Jw9BOzalmHoGM1/C75vFmNixkup7r4n7coU 7HNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Gssulq3W; 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-174880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174880-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17b2193bsi109262766b.456.2024.05.09.13.13.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:13:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Gssulq3W; 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-174880-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174880-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 82D3B1F215BE for ; Thu, 9 May 2024 20:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1125B85C52; Thu, 9 May 2024 20:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Gssulq3W" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.201]) (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 517BD13C3FA for ; Thu, 9 May 2024 20:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284944; cv=none; b=QMeuAQO8lPiEqywoey3UdNkUPyUXnCp1qP1znTzcgMB2hFedSV0Sbh3BzHDna7X+hFV/cknM7XSJT3ffATQ9ly6YK3IY6l1CZIXU5dzHp+bLYiOPBOZkgtk1rUkDF802Sg8wSFcUxmUJglJUXK5rGrElO4O0f5iChTsVNj2dlvg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284944; c=relaxed/simple; bh=WE+AR6jouAPRHEvvVzrby5R77phYzayRUTXYm2QB4lA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=unxGkAyVzyGW+Pjg+9XcUaNwJBgf4ZzUpJWH8QiJK7ZIWE0QZOKO8/hF5d5P+aKogyRINwIfdaqD0gsey6cMkn7fH+Ylcx+bsICnHBaz12HzQ5cHB02fppWRof945bnm0X0sxzPppD+fsaDHwkJ5qbedQ9QGlCERkdVPwKeB2lQ= 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=Gssulq3W; arc=none smtp.client-ip=209.85.219.201 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-yb1-f201.google.com with SMTP id 3f1490d57ef6-dcc0bcf9256so2000682276.3 for ; Thu, 09 May 2024 13:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284942; x=1715889742; 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=t/Pst5TQmmPDAJyMHgqtrqTxRb697RB0f9O6Gjfco/Q=; b=Gssulq3WpORjjD4vxfH4Z40X+EaJC4itFJDq6Gm51rxmxNX20+yOnAl+suHO1MypeU nSyWvrqm8VKH7ZxaZ90ca3DBdl/cthV7aqSqD+daEgZjw3YzYBEMrTupp+WB9xTQ0Kym nHtCW8Ok/u0g0C8RtnHodDvZSaYc6GPWfcgN3XUfbK/Hb0L+x/btgUT81en1gWL+Fo2u kY5HabqyPG+iClxgy/iJQVtpRANIHg9XZfEcz6EErxeXrIJzHQ5M6dQSuJcJxYjDbEc8 +9SDHaDkIjiLDTOvw72ZkW9S8mRP9S64FvzlIGyqX7ULZa2dhyBFVa//r1QpsG9tMHl0 4uoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284942; x=1715889742; 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=t/Pst5TQmmPDAJyMHgqtrqTxRb697RB0f9O6Gjfco/Q=; b=sq1GkAp33J0syqjAsmiCp1CYM5ncnQAXEDHXKTYRBtPgsc/NSLk3uQevu7502SyNi0 usOraQ5bKuHdAYdP86AIQVDf//ELm6+Eu87lElZFnWSJFV21gir6Sgh4Ddhy7zAfskkG 4rVaucTzEngkmX3DU193essH+gJ4bbpwZ+WdAccC8qwWMcxvOYTIHk6axFu4l5+j2wy6 gFhfITKPaq8lyCB8AWKFBQ2BlyuuOeOWZXZ0+LpFBlLNq610XxIhy4AyGr27+VnepGXS MjDIXM74P5Tam9ZXh8s/G2elvvNeIWW5CF4ojf24iLPUmnkJvt/4jFasqT/r2bJg3n3/ XLzw== X-Gm-Message-State: AOJu0Yy0QvGHtz/YSECbEuzvLr8fezND3qpOHcoldpjlR9chANY4qwiV tuN3Rb2Y/8uO2ZNWW+AaEApEO7YVXVCLIoEN8PfdE/7LlpQ7zhwtJNx2Yo0/tMAQlfx2j9u5Jdq lXg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:154a:b0:deb:88f5:fa0e with SMTP id 3f1490d57ef6-dee4f1ca69dmr59044276.5.1715284942280; Thu, 09 May 2024 13:02:22 -0700 (PDT) Date: Thu, 9 May 2024 19:58:25 +0000 In-Reply-To: <20240509200022.253089-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: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-34-edliaw@google.com> Subject: [PATCH v3 33/68] selftests/mount: 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 , Muhammad Usama Anjum , Andrew Morton , Edward Liaw Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, 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. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") Signed-off-by: Edward Liaw --- tools/testing/selftests/mount/nosymfollow-test.c | 1 - tools/testing/selftests/mount/unprivileged-remount-test.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/mount/nosymfollow-test.c b/tools/testing/selftests/mount/nosymfollow-test.c index 650d6d80a1d2..285453750ffc 100644 --- a/tools/testing/selftests/mount/nosymfollow-test.c +++ b/tools/testing/selftests/mount/nosymfollow-test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/mount/unprivileged-remount-test.c b/tools/testing/selftests/mount/unprivileged-remount-test.c index d2917054fe3a..daffcf5c2f6d 100644 --- a/tools/testing/selftests/mount/unprivileged-remount-test.c +++ b/tools/testing/selftests/mount/unprivileged-remount-test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog