Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp87367lqo; Thu, 9 May 2024 13:30:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVcvRiO7qtZnkhaUSK2lSBxU8i/ixLDhFzyhlBsSX+Bs0uimjg/tHyKj1J6dJzrLNpTPttR+W7pnmqemHIq6AQkqY+CM0983pHE2ZbYMg== X-Google-Smtp-Source: AGHT+IEB5YxzaZuI15xqOU7Gho3mTcGBh8WJ/CfbPSHYPf5Ylp1Cuq6Pf99hYMUWSHXM0y/y1BIA X-Received: by 2002:a05:6a20:96d5:b0:1af:d0cb:936 with SMTP id adf61e73a8af0-1afde10ad6cmr909884637.37.1715286632754; Thu, 09 May 2024 13:30:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286632; cv=pass; d=google.com; s=arc-20160816; b=rS15zlfH/UU+Vs+k2TytIY+L8RHwi5xhtsTzYkSF3ASb1CTbGZf/erBkJUIvWfN5Yy Q7oLOiQTQLht2a63vC42wXV+ZGn+CS9+U0VqQncuHqWzgrtLskbqmNvqSvLwX9XXrkRm feF8YkYdZx348wDPKty8wHApie+LfF6UEMu2aaenJFSyzT4kUTG0xtv5BUF82s/L16+K WvkNhmWeTHfg5Qqju8c5i7kWC1W5u3P0KgHqqoWhvJTba5iSDZ9/OLaXrs/bduX9A9iY pCUBr548M6PCQSdDO036YcX7HwkbnSjrjX0c1wZdiNUY4vv+kfAsRDP7gkJ74CAkdWTV stdQ== 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=CAfxn4Mx/opUGbIFPR6WnlOwclUxypYBhNIAU6ceeuk=; fh=RX3ru8sdsojNTK+shky9QSWhnjcHyOGfPr00Xg3WJ3E=; b=Kcj1oOvGEIPXeK3l8tNFNqgAIVocsEEA9RfTabEzcu9jrrUqusKXt2iCoJ+xRywKMP rgAU/w0a0/PatDcDlvsIv2+yin6AK8S/pY3I3ZUISj5QYqXMftrmBVJbnG9ifESx2bMv FUlC75jXBahvtk8IHQT7SH2f8F3tM45kX5g7Fsjfe/H8px7/HxXMRZRTV3NTy4EMJJvj u7LtJJoAVbo//M8bmZqTuTnnNXr++o/gj49CU5jPJFUAtSUeCdUkymuREkrboTvI+P2m S8daaGpRAVgLUi1qDU0Bv3jK72p6M+lWhhJWTC9TEQZiDs2pxd6CbRlOt1p1C8RV+stk vYbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=WVZumaIp; 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-174894-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174894-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b43c2asi2066099b3a.357.2024.05.09.13.30.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:30:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174894-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=WVZumaIp; 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-174894-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174894-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BC839B2259F for ; Thu, 9 May 2024 20:17:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C895313FD83; Thu, 9 May 2024 20:03:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="WVZumaIp" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.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 68E3013F455 for ; Thu, 9 May 2024 20:03:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284991; cv=none; b=Mpg6j4/BNQg7VvBMHwXraqPG5OKdQ3bKDVrMyAWuMuCaT81A7jP2R3V7Uhe+7IFCiCiTOhEOtYrLT7DmDo5vgXQYUuIqM2Xvh5SYq4xa7mPz0gCZTOFhyNq7cpXIJRg2yTuip1A2cAvwEA4yZxxw+Cfx0OvWHtFRmyho/jWQT30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284991; c=relaxed/simple; bh=J2aK0bE+Y7ee3E6roTqW6AAJ95EP/+G9UgxdLYbifQg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=kvjC7m3z3uyO5f3caJZGoB2dMRq5+h4kQk/sZK0PK3QJvSGIkg0AtyzIp/7OxH6v7tp5CSlRF8lPwd/pMM43nyiSq3JkUZ5kPwYau0NXRTukBPlw8NUkfm0agTTwner8VeI4seF7PXrbpagDJ2f+sWUOiquV/S4WB2RRCl9pN44= 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=WVZumaIp; arc=none smtp.client-ip=209.85.219.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-yb1-f202.google.com with SMTP id 3f1490d57ef6-de8b66d59f7so3014845276.0 for ; Thu, 09 May 2024 13:03:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284989; x=1715889789; 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=CAfxn4Mx/opUGbIFPR6WnlOwclUxypYBhNIAU6ceeuk=; b=WVZumaIprE+2ec0sjBkWgm+9diDCVfR7g4ZNT9Vt/sLJryq47V9Ad76ZaWv9NIdvFP +s8auJidCZ5AeL3AA4EUmOTEjjd0sqaIi1trY9ij94h3UnM8YjOcP84kn+AEK0cTywpz FyiytGYuGOBHS4aLfno84o5E8RjBMZI3Q1XkJX6xXn76ezY+074GLlqcgobQy0YGW2pW KgkYTmzk22NYg0SyydISeavUdjhIa6cQac4dvLLISQNmko/dWdNW3+xrMX4Qa77h4eQu ckq8xAyle6SahpZeU2KwfUnEXBx2FtyMVq+SecyN/w1h5Nx0bUZMsmTk2ySPKJDSZPeQ PymA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284989; x=1715889789; 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=CAfxn4Mx/opUGbIFPR6WnlOwclUxypYBhNIAU6ceeuk=; b=PotRO/xukahB+sKN4ee6akk6u6umsiOnMG/ko8IaQ5G7oJtsSqupvx0IN3eOMhu78C 5F6gIVh/t6TDJ/eT2jbB6jay5ykp/YNgtYrOEopg2jRWpWktfJoe8ByGjUNSmuMgsnpv rrydjKAHR5/Rxi8ANyDDXq10T0fcYgkk0AtdrVku+3SIz4dxfyWmbs4jAiDyn2ZaTM9m ec8xPhlwrvcTCDdBaW4ghzqQomBy2YK7uhAAtNLLaAwkvYqjrVHR+jp2gTI+wIzSWxfK IJi96VvJ6Hj33Oa88xM3kgbbIhZF9XmSDRLuNy7tDzvl/1GA+rerDHkaHAxYlPV8BXo6 Z8bQ== X-Gm-Message-State: AOJu0YwT/06RufK7ybWf8n7irhejj+HQ8FycvujxP0y/x49cVh/DqYh5 ylSv3ORuRuLeqLRHudF3GlkFybYyHTtJFVykXKACTg7UAFz1QwDIDc0OXO1WKEOMYauQtEYoFb0 lYQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:c0e:b0:dda:c4ec:7db5 with SMTP id 3f1490d57ef6-dee4e57a059mr218127276.4.1715284989462; Thu, 09 May 2024 13:03:09 -0700 (PDT) Date: Thu, 9 May 2024 19:58:39 +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-48-edliaw@google.com> Subject: [PATCH v3 47/68] selftests/proc: 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, 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") Signed-off-by: Edward Liaw --- tools/testing/selftests/proc/proc-empty-vm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/proc/proc-empty-vm.c b/tools/testing/selftests/proc/proc-empty-vm.c index 56198d4ca2bf..f92a8dce58cf 100644 --- a/tools/testing/selftests/proc/proc-empty-vm.c +++ b/tools/testing/selftests/proc/proc-empty-vm.c @@ -23,9 +23,6 @@ * /proc/${pid}/smaps * /proc/${pid}/smaps_rollup */ -#undef _GNU_SOURCE -#define _GNU_SOURCE - #undef NDEBUG #include #include -- 2.45.0.118.g7fe29c98d7-goog