Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp55651lqp; Tue, 21 May 2024 18:19:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfXuEIZ1ObD9SS+qRRBwnfZj5wOt9SZP0/vQS80e5tk0vKBnI3xiH82AwxuZWxjLW/gcR/GAoYOH1OabeQomOzzTzcKiwikQUJY7sW9g== X-Google-Smtp-Source: AGHT+IE26KEG67p9vpaWXcUokeIrUa1LMyoQIgqpw6UDhE/5BdWa83Nh2sULlKQarFAsUGfu5xiy X-Received: by 2002:a05:6902:4c4:b0:de6:e4d:e990 with SMTP id 3f1490d57ef6-df4e0d45036mr751742276.37.1716340745661; Tue, 21 May 2024 18:19:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340745; cv=pass; d=google.com; s=arc-20160816; b=l6cMmkqtE3B+IV15xQU3jSfaWpIp3U4VafwLA9/BR3FHQCycVxyjOErXNEVdae+wEI qEwZ1mjf51DUXC8KxQA7AVDMtbg+NoIzJRCACQCJQnsCgmAqE3w7rsvsIGvl6I/sV0Yr 9nJWJ9nYRjRdv/4AKcBEYlwCGjSarmGsvFR3k3TRCRaZ41c+y7cpHLJT95XcV7muas6o 5UNeWe+dd5hR/2wgcAgK23dRhnVPSfr9kwEdS3yDD5I0muW1otYXyBtp6FWzsqBIiXVt 53/+qyWINTSGtFNhk27lySBCKcj44eyLsIqxM2UXBoz8LwVJuvfPOsOpB6yAe/PN/y54 LwNg== 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=1dqiMTNBgzJveM+1U2NKL51RHxmum4u5pgeXNwn+APY=; fh=FVkFS/ZYifJ5vGjQyKFvx65fIvlch/4n99JhnPTYzXI=; b=rdvxyAnseXNgbxB8xg3Lg2gjaxBYzAXd6diTEV5FwLrBiztTPwi7+OBE0+62WbINCK alxpeHp4zjMjfd+VmHejDv5jojN0CsuQS9PwheYLBnTPwD+9Rnt9m/F0rIGHQEokcgBL 16sdADu+K9UEcLXCSpAUvASpNVyPO+HjKXEFAUMOL+/BwtlVjS05W8uwDkVzQS5PlzIq VluzZ3MZ8pHoTnI7zG+1Ww08Gtz55csHPccByF2TD52yseWaVwtG3x+UldvWmllKmVxG RjCS/zWaZFbzohR5OSnI+Th3e9MrJx8cqUTJm268YU+QW3cUKMeduDxu8gXdRYgz0sbk vyBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=DMSiG7N9; 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-185621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185621-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 6a1803df08f44-6ab7c70cde1si8204106d6.437.2024.05.21.18.19.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:19:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185621-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=DMSiG7N9; 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-185621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185621-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 A3F651C24204 for ; Wed, 22 May 2024 01:17:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52A84154424; Wed, 22 May 2024 01:01:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="DMSiG7N9" 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 C8B79153BC7 for ; Wed, 22 May 2024 01:01:47 +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=1716339709; cv=none; b=MVv/uyNppfxEIwm176NHV0kTfA+PRVAxUlzJWoJOwqQ3fDtsL6r92/h+Wr0RM4i9wb39UnwQ7o5JBnqyHdVcPDHG0UqWZYOKqurhJ8tlB2tlibZN/Kwd3Sfi496lNjCNDhOgLFhlHmvzZaBzQe4MDjfxJnQ4Wn4lLjSfhX8DxgU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339709; c=relaxed/simple; bh=Zy+x1uRprdnX1Tlrv8ZyVGm6ZAlOs3M7f83fVZKsXqU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=fHMDvH56UlJI80T7oUMUjs567IJzob6bApWmnY+zqnlX0QQUDtDvrAY9YuLQp5JeCz6h9GZwL6UQ+rbg2a/IulEMtIM9y9C0gG4NPLPJ+GmS15nL8HVkHhgYw6gPEUft8/7MzJducYrnu4SUQmRwKbNH5kfhNbWHJIYDXgWxTws= 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=DMSiG7N9; 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-6716094a865so1695728a12.0 for ; Tue, 21 May 2024 18:01:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339707; x=1716944507; 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=1dqiMTNBgzJveM+1U2NKL51RHxmum4u5pgeXNwn+APY=; b=DMSiG7N9Vx2N2aLHs7pKdX+UM9nRKSI2SRAXwfTF8VvgCG7vmSYeuGBFpKseONTkly xnhWF5U7VrddZEJCQV0We2gKBLBv8lBfSLasG8whRSjEYUwOuGTosP5xYUja4qatAWHC lyesj0KwYyDzu7Rts/PhiZOLQheVAvHMdzWnG9iqwrWpH1rcEEZrSXejcbIwxgvpSePh 1d3+1PYH27+QoNZ3LEj+VvxN9d3YfTDQqS7PPSkoqJfEsEIzgGjMRNK4cNeKLDi1oBkC 8t8JK+ntIy738B8VB4/p/4dpFbzBeYYfOMs32dsuvpBs41kK1vx7XM1T9LT5s9cbw8NV L1iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339707; x=1716944507; 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=1dqiMTNBgzJveM+1U2NKL51RHxmum4u5pgeXNwn+APY=; b=pEyRtKzKkk3K5Bna+dWDiAA/XBKgzdDhzM/Vty81ttt+xssGs7PJu/ciQnhk7YX2BR nRyklWlrrFMEBmEKiRT6x0AHNfxleu2PA92ec1QAicAClNgeBaXrZ1NKP7ryAGXrwOTn 1hA8CbrmzHlH3UKFx4Hjh72tlDBKNsXIfOEJidK4P+GUPw38xhnNHFiC5wN2iQpovnFf pQeIBFaUqvyflg3SiNLPKdUBIq/m8Vl0hIpZ/Fh9wPpSs5wYkTco0Qej2V02RQrS2vij RaHQIvJlwmhAojqksQIRZGyzJIvJ6s+nS0+3sf5iTgOyomkJOhBMlIj68lsELZJBQA4i UlBw== X-Gm-Message-State: AOJu0YwVxVTRKz0eUJ1pA5ttjFgYKC79KkVHHSMaZngdBzRb2c6K1aHF 9TPJAi/pITLuEg1+8ed2xu3tap7RUJ7exLpwEMnJmCUF4OvQ20wcsf30abFA1CuNPfpMm90nXWt +Dg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:903:22c4:b0:1f3:aeb:321c with SMTP id d9443c01a7336-1f31c9e8135mr338475ad.13.1716339707160; Tue, 21 May 2024 18:01:47 -0700 (PDT) Date: Wed, 22 May 2024 00:57:31 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-46-edliaw@google.com> Subject: [PATCH v5 45/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 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, 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. 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.1.288.g0e0cd299f1-goog