Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp84340lqo; Thu, 9 May 2024 13:23:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWb1rN3McXeB4kTWW99ZhpSt8QuB/ZR0t+ru1CCCRL3GI7wXwjo2Upveubmphuph/jGVBYS47LiuGQGK3arEXKeiGDNTmgq59tlBk1nCw== X-Google-Smtp-Source: AGHT+IEXQzhjhw4vnFbXeJiiTKWfp854psCzew63XZ85gC6kAdoYPwkT6e4EtivfSt80T+JQxJH8 X-Received: by 2002:a2e:b987:0:b0:2e3:5b79:9ff0 with SMTP id 38308e7fff4ca-2e5205e2275mr2510051fa.47.1715286228120; Thu, 09 May 2024 13:23:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286228; cv=pass; d=google.com; s=arc-20160816; b=d7djAVfaxReijXzn5f8yK5lqyyoz7FUSVWaQjR9Lc//RrN0v/pg6bIwzML1YJdyUNf g+RptfyKzUd4EhFxGLdFdb8xcBeCbX8J3Tss3Xl5709PfqpOOFU4YBSqXBQbkJbHG/2a Oz78x4kQ8mzeX5bsWStQwDXiVdpgyB6bMQseHQCwQoUPa08RY6CKAGfDvrQyy2NyhszW KhCXEN92B3ZNgFvOgVRNFev7WOO61hT+P96h2dQMYJ+LViFgZ7Otj2B96KQL4yWI8iaM OdNtPYH7lEoXQoE63WO6u2hSCK4atN0IhGTtZ/lkFil9vR7kupvN5uXK3Qev+CfaopRa kROQ== 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=CrH27rGPbpomBrMwjXFw9TPUN7Jl3Ae++I8KKaa1ZHU=; fh=I8v/LepoJoSaZLiLlu5+QT34X5kQKnr8VZEuqNoCvq8=; b=c9tkwbvRhLOfjFOBzv84ZXYxEDUx3MBbPHi8QLOvweeqCFpQAdLNubQ75yiJEydXaS 7dkdA2sNXieuddYWGuwqPBVABC+9iTceSHm1YSpiogyPCXR96cZBKD1ziF6IixEXLyvm FSt+aDYyYkzaOHgQXp6//B3iweEhgCiC4beIwh97wgA6ZyEp7AGtQEzaA16vBT9BuvWK wUNhN7PjDDVEOd4XZ7gBLZb3+6/KCNKHqSdQPnd1li48RU9zda6921L8Pda0yrpFMYvB GrZa2LIVfRlEdv54Sxz48nItVg4BXtiMww+Ei8h78FJNwF49viTqChEauvDl78cfOEiN zyRw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=oGdVhBkX; 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-174909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174909-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 4fb4d7f45d1cf-5733c2d4ce0si1118094a12.299.2024.05.09.13.23.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:23:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174909-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=oGdVhBkX; 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-174909-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174909-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 A9B621F21966 for ; Thu, 9 May 2024 20:23:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 778CC1474DB; Thu, 9 May 2024 20:03:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="oGdVhBkX" Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.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 DE13B146D7A for ; Thu, 9 May 2024 20:03:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285029; cv=none; b=hhcBk5I0vpASofYH960S8mf8KUlI19Y3bdavs+LAeV6yMaHxxf36XgWsNICXlRIKmWDgjxGuXLOp2IYQLKCzQl80Nj17t4ZobtgPpHyOVSRph03UqSH82Y8iWGuO1nTO45vr8Z+xjVPK7BH2HTfC06jN/zdagj/JQ7Q43AqxYII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285029; c=relaxed/simple; bh=Jk9WlsOAEnwbmnHRW1QFCXzqP1dOARmd0dJyp3x2RB0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=EGEd1uzf6ey7SqnPX022rRRx1jU49nk2ydEvePT9vuARjXBcfHgC7GefQhFEiHPsZoOpbzYoY8nPxVdhsQ/SF4srV6U1FX9HeqiWDAONyE4i0FX8mR74RZf2jMJAxOX4elxv5NWyT8s/1FfmuErkpnJELX7bCbddx/+PUUEXh9E= 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=oGdVhBkX; arc=none smtp.client-ip=209.85.214.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-pl1-f202.google.com with SMTP id d9443c01a7336-1ee3b4f8165so11516105ad.3 for ; Thu, 09 May 2024 13:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285027; x=1715889827; 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=CrH27rGPbpomBrMwjXFw9TPUN7Jl3Ae++I8KKaa1ZHU=; b=oGdVhBkXE6V+l6B1ZgbolcieIh40J+k5lT4HKLueJ1rTppb4IfvzoPDPcxHzhbS+28 RqISanvJ58jnNGVpC+mLkwuFP7anyIs0N684iQm2BKGaasptH8VMMClQV6nvPSx00IDw ZidgBjAq3LJi5suqoJlnuFI00Ld7fNdCBSrWti9LAHSYBnNiVDINWxi82REh5DKsBxbJ ym0w3A4Bf9rNaG0Lyk/RlDg3AWHVlY80Fiuw3u+DfFCWGT7A4qcga+I9sQ4rkrSgL80O geGmviCbUH/je6VWq3VQuZA7xSR/BXp9+jydg+j6InNrSEGrxVEo+/nsXboZA4sOsynv eZgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285027; x=1715889827; 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=CrH27rGPbpomBrMwjXFw9TPUN7Jl3Ae++I8KKaa1ZHU=; b=JDxYU6vXox9gYfcn11MJRTxaxCMp0laZMnVZAlRhmlwnatUUlOuk7s65MakrgTmIuq x0YLRyHyM3XQcFzYMr4bbuLWP1J14+8E7tgwDDZnADQ7dkDr9Yr36DdYzE/zaY/xIWot 1bas29OTRqHF3NLAp6lYwCXBO7Yc0X3jqXDkMIqOOjddlA5rx51OAKZpDfXR5W/PsK3y 9mPVFQexfgP+UKvELKIn7djFsrV65yjzRtd3Xc5dqFa08BVlQgImSgs/rMXvBlsgjw8W /uqYWkIWON2+hTEEQSX9/Sict8lAqW7Rw7zjGCZn5+xpVNmvWfVD4uk/KceIV7k2JASx 3+Cw== X-Gm-Message-State: AOJu0YyV0SperrhTjr61eTqedn3Uv/YgKl8KQSCST8tWrK+eyoH8npOl H14ZlEAXGjXd2D8lxGJNUSEM5MKzgsqlE8uqcHnHs5dUQb4++qgXLYgI/6V/hRX8VO5cbe8mQ2E wiQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:f548:b0:1eb:ac97:6c35 with SMTP id d9443c01a7336-1ef43f41477mr266155ad.9.1715285027301; Thu, 09 May 2024 13:03:47 -0700 (PDT) Date: Thu, 9 May 2024 19:58:54 +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-63-edliaw@google.com> Subject: [PATCH v3 62/68] selftests/timens: 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 , Edward Liaw , Muhammad Usama Anjum , Andrew Morton 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/timens/clock_nanosleep.c | 1 - tools/testing/selftests/timens/exec.c | 1 - tools/testing/selftests/timens/futex.c | 1 - tools/testing/selftests/timens/gettime_perf.c | 1 - tools/testing/selftests/timens/procfs.c | 1 - tools/testing/selftests/timens/timens.c | 1 - tools/testing/selftests/timens/timer.c | 1 - tools/testing/selftests/timens/timerfd.c | 1 - tools/testing/selftests/timens/vfork_exec.c | 1 - 9 files changed, 9 deletions(-) diff --git a/tools/testing/selftests/timens/clock_nanosleep.c b/tools/testing/selftests/timens/clock_nanosleep.c index 72d41b955fb2..5608f2b519e1 100644 --- a/tools/testing/selftests/timens/clock_nanosleep.c +++ b/tools/testing/selftests/timens/clock_nanosleep.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include diff --git a/tools/testing/selftests/timens/exec.c b/tools/testing/selftests/timens/exec.c index e40dc5be2f66..7f718a3bb043 100644 --- a/tools/testing/selftests/timens/exec.c +++ b/tools/testing/selftests/timens/exec.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/timens/futex.c b/tools/testing/selftests/timens/futex.c index 6b2b9264e851..0a5a81939220 100644 --- a/tools/testing/selftests/timens/futex.c +++ b/tools/testing/selftests/timens/futex.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include diff --git a/tools/testing/selftests/timens/gettime_perf.c b/tools/testing/selftests/timens/gettime_perf.c index 6b13dc277724..9fe6690edd2a 100644 --- a/tools/testing/selftests/timens/gettime_perf.c +++ b/tools/testing/selftests/timens/gettime_perf.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/timens/procfs.c b/tools/testing/selftests/timens/procfs.c index 1833ca97eb24..7bc389b05799 100644 --- a/tools/testing/selftests/timens/procfs.c +++ b/tools/testing/selftests/timens/procfs.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/timens/timens.c b/tools/testing/selftests/timens/timens.c index 387220791a05..7941a43155a8 100644 --- a/tools/testing/selftests/timens/timens.c +++ b/tools/testing/selftests/timens/timens.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/timens/timer.c b/tools/testing/selftests/timens/timer.c index 5e7f0051bd7b..378e058359c1 100644 --- a/tools/testing/selftests/timens/timer.c +++ b/tools/testing/selftests/timens/timer.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include diff --git a/tools/testing/selftests/timens/timerfd.c b/tools/testing/selftests/timens/timerfd.c index 9edd43d6b2c1..807edb9d83c9 100644 --- a/tools/testing/selftests/timens/timerfd.c +++ b/tools/testing/selftests/timens/timerfd.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include diff --git a/tools/testing/selftests/timens/vfork_exec.c b/tools/testing/selftests/timens/vfork_exec.c index beb7614941fb..675c6a8b2eed 100644 --- a/tools/testing/selftests/timens/vfork_exec.c +++ b/tools/testing/selftests/timens/vfork_exec.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog