Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp83434lqo; Thu, 9 May 2024 13:21:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX38Bp+nYwRF8/oYewx/Kj4X1gkNE3SP+I4ZwMv/nNVbZ0JJYqBPUlS7kWUURShl2cQzQT1L8qR8sAO/nlGFf/LUcWoMlT0ItJuFthFvg== X-Google-Smtp-Source: AGHT+IEems3xoxXij3nSqpc/vKFzqPgJ0rcpzRIPBM6hY7RsdjsiWX1nSOK0KHFb61J3wIwyGlWv X-Received: by 2002:a05:6300:8085:b0:1af:cfe9:9221 with SMTP id adf61e73a8af0-1afde1c580fmr822495637.54.1715286119261; Thu, 09 May 2024 13:21:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286119; cv=pass; d=google.com; s=arc-20160816; b=nTN7Gi1zuVKJ/gvkwnb49fk2yiAxiM8f30QhYRz5JP27y6jCyD54++GTEcu7St65IW XsCo9jCUCHCFCTCFHRO2ggfJgX9t61zp6oNzGcYnNPnSet3Clwg8wlctQKzHP3n5n+Fl nnlbu3vuFeZy7Gp5BkWk+SPNTdahfBNoHRq3iSohOaZAADPPaH+2oVVFxsQtVELPmjkc Z8A2L/4JNpQo/VXsaD99f0/1wiA44nVZAvLvt5XNcKE+BOfzZzaCS0yvIvvpSV8H4q4d RfYycyQZEi/8aBGZNh05ymvxJcLH21uwSINDegrTf0u+brvTMcemoZBVcCn1qabeJuIP IW8g== 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=ibFWC41ZV4jKFs0EDjRGi9eb9rYUWbe9LL5jTVHUEjs=; fh=+2/4jdnR8AfI+bWlF1mifjeQ/FuQ07Hh/iHTyjpRLc4=; b=fqIfXdVf2UC/2E0xDk8z+7kWgGCp8OLtX9ANsDdm/NCuhnk3nwJII4tSeU/xA/e23J pibbxowo2aWEyQ6VKOY2LXLbWoUD/THnWW9y6tZ+XScodvwevnCgpdaO5LfChEZn+eLQ iwPTXCN/30mYXD88oJ/7sZN3XD97R7xlEfpJW6CRYEIFRSUcajzAwmZU+xh1WWs9FztB f3F5R9pC83Rl3C/QYdvP5GSvLiQJ8h56htMGat9OxLmIVM/6OQgWQfALptgusyyvdHki ZKGUe0W4TuRj20wiqWio9morn/UWlx79GSlf+rOHckG6JN4vaSQn4h2GJoopQXGp77LI bkuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=TNgFNOvU; 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-174881-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174881-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e8234fsi2008426a12.139.2024.05.09.13.21.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:21:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174881-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=TNgFNOvU; 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-174881-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174881-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AAD4A289A53 for ; Thu, 9 May 2024 20:13:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAB2B13CF83; Thu, 9 May 2024 20:02:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=google.com header.i=@google.com header.b="TNgFNOvU" Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.202]) (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 2962813C82A for ; Thu, 9 May 2024 20:02:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284946; cv=none; b=gUCkkWtbw8WXs0mVy2fuWvvnJkfy13hZR/H5HtSvxeevZRwonQLIDz42+FG/L1u9KiHd97ST7WRmlIzZO33Q0+dQD9O5Pd2ZYUdm2ro16AEtKhkJdU13hCEG2NqxLwMwiTsCT73gzQ1PdSJmeGuzSztTGR5+OwdvQShTk7mIPMc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284946; c=relaxed/simple; bh=XzM7bW4mUcL+MdWLSgy4pPFCyz7AUX0/rTFVbZz4Cks=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=q8xJ8k2Wsrm3tOxCiqKyNGyNpfNO0CufpzGLs2YkyCMFAZfqilTuWVbl1Tupe25kRWvDIC9cHoy0lAiAMulwlbU8Y08A/4NtgNvmyeRMO/HDa0BTE+ynWNKXZ/Ki2wYtOWh+oufveoILHaqChCI++6XpYC5ctfMLcqpfSI/5mHQ= 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=TNgFNOvU; arc=none smtp.client-ip=209.85.215.202 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-pg1-f202.google.com with SMTP id 41be03b00d2f7-5cfd6ba1c11so1147870a12.0 for ; Thu, 09 May 2024 13:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284944; x=1715889744; 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=ibFWC41ZV4jKFs0EDjRGi9eb9rYUWbe9LL5jTVHUEjs=; b=TNgFNOvUDwSzSzaJ4tw+i7vOl78bZqwx798H7mD/omiE83Av15InytXJwanizgjzCC wSNIkuKBojsiBJJ7Y9S68oOPfkmfC3QTjdo91uUzXY8RFQdVfTpfAv0qxTBqCTtNQuko AwYJi5ORP7CeEXT6S53WXagQQElrKDNGlSg4L2Wh5oYtKIAbenVD1k8u6ga/9MYJpgcu zrGPLPVj+GNImrdIbQUCa5OFe0IXRUZaf/aX7dHnONufx2CXNfV0EJUWKQRslIVuOMPO zes7Aj6ZDCaP+3r6bVriUXvwfq0qQXqSPfO6WmhBwFUXgaqb5k/UXZJgptuflN9+y2me eklA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284944; x=1715889744; 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=ibFWC41ZV4jKFs0EDjRGi9eb9rYUWbe9LL5jTVHUEjs=; b=c5eN5t4Ec8XuctgxB7K2doBb3/J5GeNYjDN/EssemLTsbW7rwYG5IcFU7kEDMXASON cA8Ahxtp9Z60+YVzoth3c/PiOTn4tsaXcUdzykVnYTLOd+7w9mrj+176uucsxjic3PUc Gju19OV6bPNNZ9J/s8PxnwAtd6pubEYDRTQ8PYDVSVc9R1dDY7/PwJeLzjAvU9cKLClg 4hzD8j9UoZ4fiLgg4NYXAO8vdxNK/fH+GPpt0YvEQpVF9hK93jyo7/LAthxs2ax9tlFE K65oLlg1g+fB2KUMvuPeWFVBd37COGZG974oaWNdPVkF7Qe8UOGfKVRTJaPSzkuNiFsX u54w== X-Gm-Message-State: AOJu0Ywz2lAU9DbZyTxpFjmmTn4ETXRrAes2QnnvoNaaVIvNRH6yYrHL hNu3/XqNLSiO7XFWDwtV7tR3yehx3H8vfZvePMy6fZgrY9QYxuS2CjdNOtGY4ujDCMV3RPXTDpW KHQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:e549:b0:1e5:e676:4b0d with SMTP id d9443c01a7336-1ef43f4b57cmr17425ad.9.1715284944391; Thu, 09 May 2024 13:02:24 -0700 (PDT) Date: Thu, 9 May 2024 19:58:26 +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-35-edliaw@google.com> Subject: [PATCH v3 34/68] selftests/mount_setattr: 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 , Seth Forshee , Andrew Morton , Muhammad Usama Anjum , 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, John Hubbard , linux-fsdevel@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") Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/mount_setattr/mount_setattr_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/mount_setattr/mount_setattr_test.c b/tools/testing/selftests/mount_setattr/mount_setattr_test.c index c6a8c732b802..d894417134b6 100644 --- a/tools/testing/selftests/mount_setattr/mount_setattr_test.c +++ b/tools/testing/selftests/mount_setattr/mount_setattr_test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog