Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp189837lqo; Thu, 9 May 2024 17:35:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMTbrf/EYQZGMEJNXVk3t6BCTX1V00CpO+NmJwYslH82FmtvWoVUl1pv6Q4R4/BCqEdevfVwzC44RHRsMfJqqy8Ej5IcEAIEEaIDCwJA== X-Google-Smtp-Source: AGHT+IHPueLQYe3uBk01EuNOKXyuHeDjCYLsGyvHpUVsyucUwFeCXA6t+yXCkVu17ujOf8QyAsva X-Received: by 2002:a05:6870:17a3:b0:23c:4a27:6e93 with SMTP id 586e51a60fabf-241728fd0e1mr1418754fac.28.1715301353701; Thu, 09 May 2024 17:35:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715301353; cv=pass; d=google.com; s=arc-20160816; b=MbKCR+rzgXj2SbKzOzMYtPy9OZ6F1q2lNuHp23NAZAjmZR2kYI8jtVpicjcBC2+tfc yXOPFVbbFdFfptTL+L+WhAaoPF5xjVf3Uy00rFX48bC6ohd+Ute+sAZafEzr+NyG3RdM gLw0+jUgzienXU5js7drmXrc7Sl2T61Bv8+N12M394X1ppuZm7nlF7y0u9wQFJjAKJmK FeoDcPEm2WPx5Gc1bnW4jd9pfiO+/PWyULM6e5FLviPnr34ldRRn8hQeJNeatpLtFCbp ACKrJuXtyTfsM/BM8jEln86c2b94ghtYZmgmPBnVWLvOt+xp1hNzOHO7T+qazAOiw7d/ c/YA== 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=ZsiI/uc5MiF5hVrzWysDwKaH6OKN5b01GtVR6T+4Ou8=; fh=FVkFS/ZYifJ5vGjQyKFvx65fIvlch/4n99JhnPTYzXI=; b=ulPYJL+ivvX08EgQG+xOfMl8s2+VAsws1PWDPQwpAeyV2yjNp/uEmRUW8sAb2HsDuM CarZhPTU7l9AJSPua5pZFJyNzVZ7ZQqwk5qsSRidIBXjdXsXd0clGTa5PHzV6LrFHrqf oSpn4yr/Y2FXMFJlEtKPYeBZhGurEGBagsiOP9myDu9b/viafcAuzxa640H/97o4CxuH DUYxRsgED8ImKU00dkAJkgvdrdaDQOunjYsiWKqG8yErMgyiVh2n23Pq666EGpSwQaym ihMFhfyPy1/fI/4/BJl5EZ5ikEF4wUo6katetf7GRiy7jIY1jCZdk5rulBtcERrpCrmd 1KYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=PCJYiUWS; 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-175142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175142-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63413d72e88si2362915a12.855.2024.05.09.17.35.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:35:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=PCJYiUWS; 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-175142-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175142-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 E4AA5288C46 for ; Fri, 10 May 2024 00:26:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7EA1213B59C; Fri, 10 May 2024 00:11:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="PCJYiUWS" 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 EAA7F13B290 for ; Fri, 10 May 2024 00:11:19 +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=1715299881; cv=none; b=l+C4nQoFemsz+Hfpe0on0nKvRaIMnHHD0X/E8ZxNEJZ78GFfOyNfQaGQEUBDGxYqlM05fuJUqhehWzvEAbgHzJGF5ZHqHYi9huy5zhiz343O5ns1/IZd142GojSHTXYf2j3oVNtbyND6EprQ25PnypQ70sWtanTRHxLQc17E4b4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299881; c=relaxed/simple; bh=9SdZLXa8bOO8qqRm4M0qIy9O0gsnXY10oXqx9sqJBYg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ZzO1/OCSXhm406eB7ABYCQJ00MSLMNm8F7vkaXEwQCdS5RWPjDxTDOoOxotW/32BLEQdUUq8ioK5UkTLnC1N5pH8PYbwwIu3gvFvha/MQ2w+HYfk+Ll8OaAyo4Hga/uWGwgWXIZBrgrBsFzle60jqplcJgicjAyxdIHiuXSPOa8= 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=PCJYiUWS; 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-dc6b26783b4so2009009276.0 for ; Thu, 09 May 2024 17:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299879; x=1715904679; 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=ZsiI/uc5MiF5hVrzWysDwKaH6OKN5b01GtVR6T+4Ou8=; b=PCJYiUWSDKcZ7b5ZTRYxoRuPu/wGXUWBBoDIoAQEhfLfpWGNfAL5JmkKv+ETj7xx7F eLkIMY/AKbqCiSngQU8h4CHQZFFaJx9dcTVvoMN6zWTmX6VjHYsTHGpG3hIgVgJv2Y3H Z815kk50HeJORYz0zX64evgkNwNF8iMunDDC+H5zdlONOj3vnKVEL+nkj5BCIsTtnEZU W5DRXsgZAiIP6iXmYV4z9dcwRHvlnvnXHq570loyl2/ydNnX4w5UpyrnHhKGbVl1PwLP vacZMjN+tRWZ6ddnm/hO92Yn5oja6EixJtkE4xbFL0G9xn3RNqgMYrbUo1KI7g4kTZPf UpYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299879; x=1715904679; 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=ZsiI/uc5MiF5hVrzWysDwKaH6OKN5b01GtVR6T+4Ou8=; b=ghed1c3lVHqz9SAUrFfCPYOmZnoD9ll3NThIJVTtU2E5pkR6jy2UG8RuY4k9hkJl1q d13FDnnMqG3pIOBBpRp+Wt8dTCoy4Z2XsCvi1xWNSLROh0KotN3/pDm7KD6vrm2L1rP+ APacqsMFVtNGsnR21j/sU851PP2h4yPezBvFOrhIO883sGURnb4CrZdozGwwNan/v1w2 WJnud5sm5nqZ0oT7GP+kmHowdXXF6VDcn7mIa8vTPdcvXZVbSob1Pz90IYSgIpPpwq1V 3DmeZhlVbSWQdpSPrsHrGGInBkC8ThyAOpx15bH9ocfPJ1kOXAst3WUyzrCP2HMo/8Ga 1MFA== X-Gm-Message-State: AOJu0Ywa9oE7qs1M/WAjkQLkpJkstbuBBrOpt7xSWboMAM4v/AH1MJvm PBxmBT/JbFJFhmAqnWFjTGpyVvJGtuQn63sJ8pEirddX7TVpCL8Qp2jAnADnGESxHp3WYvenB9e rXA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:a1e3:0:b0:dda:d7cf:5c2c with SMTP id 3f1490d57ef6-dee4f365eb8mr105581276.13.1715299878998; Thu, 09 May 2024 17:11:18 -0700 (PDT) Date: Fri, 10 May 2024 00:07:02 +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-46-edliaw@google.com> Subject: [PATCH v4 45/66] 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.0.118.g7fe29c98d7-goog