Message ID | 20240522005913.3540131-7-edliaw@google.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
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 89031538A for <linux-security-module@vger.kernel.org>; Wed, 22 May 2024 00:59:52 +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=1716339595; cv=none; b=bBY5HeEmdKp9zFp8T8uE2Aqf3bytpuHrNKDqMPkr2n4JtjOVLr0PzHjSFCCxyXc7zDU3l1zGZfyuJHJQHQy1QZo3euDmqLXn/f1uEfcXIi+mVWFMgR6lNWEpUotErpckCYiZEjvOF2ri2PZLtzNHCUa3xVx2Bw7UhpFsLOOQBGU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339595; c=relaxed/simple; bh=UPf02dbcijpdx0WyYDfzzs7QhNdmsal649qqGjq9w6c=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=QtGSDpI0GmmytmDNfvb3IWIZdQVxTQzA1VEmySCTGQBN+FHa6LDDCO4E8/DsI4N+YTolNSY3FTEUOr6NWSiTAufUR+fqMUCKivwZZELV/p2UgTtdwRs4yPO5leoozViAGsyy5GlfV+4vQFAhhIajeO/1VXoNz7KgF3jf5KNpvHQ= 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=wgJA0PAT; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="wgJA0PAT" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1eea09ec7ecso134817825ad.2 for <linux-security-module@vger.kernel.org>; Tue, 21 May 2024 17:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339592; x=1716944392; 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=hrpFzBzOl35j2xYdfjQDxhIeH3idaCKna/k1DUsQtzA=; b=wgJA0PATBK91/wBgCanA7pMOBMe1pSbbs6Q4TdpThd2ivY2qkAG4jYUteDD/7IZRMC DzJiy6nbdHsBTDCbxfmscQAn2ghZPHJClUobEzk5qNefj0tDGAm9Cc0awqxtB8bUZ4zs CBKbN1jpBPzRSMCo0jAuPVUQpBbwdt4Ujkl/KkDpPn2Jv0L5L9sX2MJJ14pwwQhYhkO2 cb9m++dN8G1s+bALZvDgQwUuLlZSocpaX6qY5WV+1fJYN3RCz/8MX0Vty19tYUBgHPxU aMoi2R0wkjkSu67knCiAG52OEhQO/FyQPgQ7o7BAby83Ll47dPnp60APaGfZsA/r66Sm z3KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339592; x=1716944392; 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=hrpFzBzOl35j2xYdfjQDxhIeH3idaCKna/k1DUsQtzA=; b=cumqjEDghk7tcwK1+rfbfbHfh2Uf5q5WCxIzfe5SnHZjGtGs7n0/LaHOTA3sMhgTbV htfISv418t44Pc95xYYCjgXBMPHgo881INJJ9wZmJX5KQ4kJy5bseKcnZDMdHdkVkhqh yHo5YtzHtfD3Y0dTo9I8F4eHVv5uOqdQyQwXBlRTZq/HIJSQIqgwraDD9+yRxehxCz+e K68xesdyIX0zZWJ2LRNsUyVM743RIznnggCsLQsi6ivh1uvvZ6HIbj8wcwJdUzpyK3JV 3Q04wuoDQ6ifVIdRANaKxi0po0xgFdQXztZH7Dyivslc8M3+ZgCvofxG7DIK2aYko/xw IJmQ== X-Forwarded-Encrypted: i=1; AJvYcCV+FJPNu876qbMaCFWOUEQvOGURKGaaYZktgtek57sK7EyHUvylmXseDOWj1E7NmTiJoVuywJ4+C5ucQeFcZU8EAeQqlL/TPG3E7g09qvWC4ZBOYb8u X-Gm-Message-State: AOJu0YzGAyjIFD01HvB6Sfx63h8/QLZ/aPK0m+QefHEeL35iUGVCSnGa lcjyHwzByVRCpYIi0TLoKtXoiFQOpXS9ZF22bcWieJCWtwpLQ3J6FF1eNDWU7F32N7MKqOEvWO+ J1g== X-Google-Smtp-Source: AGHT+IEoluKrJmOyFwoaPpDSDecfFtDU30gApMNSHC7b7ZSfhyGyK+abS6RqlmYIGQxtFLFdPmJSYbqqJdc= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:903:192:b0:1f3:35e:7dcf with SMTP id d9443c01a7336-1f31c94c59dmr524115ad.3.1716339591969; Tue, 21 May 2024 17:59:51 -0700 (PDT) Date: Wed, 22 May 2024 00:56:52 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: <linux-security-module.vger.kernel.org> List-Subscribe: <mailto:linux-security-module+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-security-module+unsubscribe@vger.kernel.org> 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-7-edliaw@google.com> Subject: [PATCH v5 06/68] selftests/breakpoints: Drop define _GNU_SOURCE From: Edward Liaw <edliaw@google.com> To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " <mic@digikod.net>, " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " <gnoack@google.com>, Christian Brauner <brauner@kernel.org>, Richard Cochran <richardcochran@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw <edliaw@google.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" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
diff --git a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c index e7041816085a..e5a95187ac12 100644 --- a/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c +++ b/tools/testing/selftests/breakpoints/breakpoint_test_arm64.c @@ -7,9 +7,6 @@ * Code modified by Pratyush Anand <panand@redhat.com> * for testing different byte select for each access size. */ - -#define _GNU_SOURCE - #include <asm/ptrace.h> #include <sys/types.h> #include <sys/wait.h> diff --git a/tools/testing/selftests/breakpoints/step_after_suspend_test.c b/tools/testing/selftests/breakpoints/step_after_suspend_test.c index b8703c499d28..695c10893fa4 100644 --- a/tools/testing/selftests/breakpoints/step_after_suspend_test.c +++ b/tools/testing/selftests/breakpoints/step_after_suspend_test.c @@ -2,9 +2,6 @@ /* * Copyright (C) 2016 Google, Inc. */ - -#define _GNU_SOURCE - #include <errno.h> #include <fcntl.h> #include <sched.h>
_GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw <edliaw@google.com> --- tools/testing/selftests/breakpoints/breakpoint_test_arm64.c | 3 --- tools/testing/selftests/breakpoints/step_after_suspend_test.c | 3 --- 2 files changed, 6 deletions(-)