Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp82411lqo; Thu, 9 May 2024 13:19:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfWHE+HW/xWeB/8+61XecYZdbjsm6o2fIMr2aWUkxNye6v47oV/Rz7IA10JHJ/VX+sz3L02oqqgYtxkG+zplmCkCV7/PiDcbGMgscOpA== X-Google-Smtp-Source: AGHT+IHbJprmpsm0A2bwvGi7yahSl4vaDAa2vyWcOFRi1ZuFSZ+hlYdcpwseGbSNJC6koZjtdEhY X-Received: by 2002:a17:906:38f:b0:a59:cdf4:f93d with SMTP id a640c23a62f3a-a5a2d5cb1dfmr41880566b.34.1715285984628; Thu, 09 May 2024 13:19:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285984; cv=pass; d=google.com; s=arc-20160816; b=e8wLxGJLIBCGGFTa0q/O4doUFbZAlWFqIUkP43iIh988in/nogQLtYmTJhhHeVhN1k PQXN5xi0ffKLK9WG2a4alm+r+ENxgmLBA2nFQJXOwAWu6h67sjHqiHItc1sbFhEpDXcZ klt+Q8z6CBbAMY1DYJcsE5epeeAzmmE2sQICEE1wy0u9BGUPV6Gi1FoVE37V+LlUSals FM8GqE17i27xIGX5q3nrjn5MuVaFzOuPtlXUCZIrF+jl39pC2vOK3JpS7HghdmmUZmvg MvJQaB8wASty09oR3+TFEE5V6zeElWxuWkaeaqeb+y3rCVKENKpNcu/eod1fQSOmx6Lc zZ4A== 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=GvmtJI8ym3OlQtCXEUxM/omnRwwmEG5jK8JE00ZU37Y=; fh=E2C3IpfCCXCyX4tamG8jMGXWVfLGSDBer0e9diy+sQs=; b=YAE8hkUqUXCZKZF0bagbcCR6a026NNdeWJqdlR+FYzvp10kZg8GNQjfk7VpBYvgj62 YllauVtHEM/B1q2r319PAsZT/pa8l2LPjcaWaWMJ6CPr5kEflYnR+ZFu4YugUsahDoQy L8kENFjoBYd+XChvur7HB/PReB7cqW3QjMXL0nUVtgHY7IljbbRj6l1znZPW3GQlVwh0 xq0PE/d+xSdVJ54yQYXYGbl8A5bssJyADd9XkvN4pV8s+wdOYwyW9jzF1VJ0obEptXuL tNAR8Z1jyAPqJzVZfKjLrKh6mF4oauYKNObyPuZOfWUeqjFwWF5QZRdy2sC064w+wHOL ZWxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="uSuxJZz/"; 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-174892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174892-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba3c5dsi112485166b.580.2024.05.09.13.19.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:19:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="uSuxJZz/"; 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-174892-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174892-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 45B751F2377A for ; Thu, 9 May 2024 20:17:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F5C313EFE1; Thu, 9 May 2024 20:03:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="uSuxJZz/" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.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 0616D13EFE0 for ; Thu, 9 May 2024 20:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284981; cv=none; b=C1OzmnHueTTkyrgOrgsNnqumZdZvYkk2s75rZ0uVzL7xhhFXHvBR7peSCoJG0APesGfMcRJWFWS6I3/Rm10eUCyHi21R964XuCTs/inU2cfxtKYqiGHPzodVoMhikbh+/WI/vLcUf/h2UkLqz76D58/3v9nxJh+9CSrWjTXYpK4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284981; c=relaxed/simple; bh=Yhucvb4XvEH9ebVKmn2tHmUSyiCYlyI/y4adrQ50D4I=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=TbihR5VNgmx8uB4HJKwW/lAj3HXSRKPX1uKEQIzu5KIcwUuGrFMGQQHhqgmp/axcZaejnIvnuYwRTJJpBPdHkAxQ7sCd6n7oVQ5PH2XyhrVUvToanWxaJ7dXtEPoRVGjmJSHXFSG+QPY7BD7ptbohZlj2P3nWCu8HuOy4SHBYlI= 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=uSuxJZz/; arc=none smtp.client-ip=209.85.128.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-yw1-f202.google.com with SMTP id 00721157ae682-620a2321b0fso14049927b3.3 for ; Thu, 09 May 2024 13:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284979; x=1715889779; 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=GvmtJI8ym3OlQtCXEUxM/omnRwwmEG5jK8JE00ZU37Y=; b=uSuxJZz/Mm4cknurqiynWSzrcEqpcfyAQzgyus5COBBuunzwRoeesSU+P1keFW/CFw DQHIRPhd6D8Yk4GIUjh+pR1W4JTBNf/8UCtxWAFsgjg+U236MFJyadOjKyIMlOpzCi1s +eCVua/hX0X2AAy+Vpv8Sys8UrFoWhHTXlkCu7WsqiXAkLq7FjUzy0Fx2+PHA9ibatLq uPpHAfr/iuHqAkt3wjLtVU5uy+L88YnCRO1oqmLPLLOcruLUfbxH4OpEZn3S2gV31btC d1ZFmt77v25m13I6S2qft1pFLBw3pXT1jjOElh7wta5m+4ChH/qr2gy4+bOJ7kD7/O2O lzbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284979; x=1715889779; 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=GvmtJI8ym3OlQtCXEUxM/omnRwwmEG5jK8JE00ZU37Y=; b=Nwg1ZNcquoZ9aD1FC08MmWbBLUzhdZwYL4MnFcAzf3VJjeJp3JkzuXY5Gx420xF3W8 MCknSUulAmr9PFikNS/stovF2Pf3gKngZWq+46+D/4XTuf/i93y6jXfJ1b4wBeJFed/u 3s+Gaf6ogOFteGQL+GwyuGPvHpnjxOHEqckOst/4q5ihGXcamf4D+D3fa+f/HOIKJ6q7 JQN6H9YpcexXjG4DA9lLtIw25QGVJxWdeTLOsYSC1JDIcs8mKh+DW3R/eAPe4vZSCifO 0dbwErUPaJhpkh5WVHpkM9gXHdrwzbabdaknktwgUTpiAsC+wa46F3E3oqWYNNIPK68a CMcA== X-Gm-Message-State: AOJu0Yzg/NRvhKdRmq4b8vOtgvW3MTzSXaSzEIDbboU3/2QgzfiN7al7 1PhcgLkftprynhUezrjvaFOSFBmtisVERIaLpDt9RIKD09Yrtu/n1NdA3/9bP7pTyqsTaw4TBxJ ObA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:690c:6f87:b0:61a:e7f7:a4cc with SMTP id 00721157ae682-622affa4dc7mr1321267b3.4.1715284979174; Thu, 09 May 2024 13:02:59 -0700 (PDT) Date: Thu, 9 May 2024 19:58:37 +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-46-edliaw@google.com> Subject: [PATCH v3 45/68] selftests/ptrace: 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 , Andrew Morton , Muhammad Usama Anjum , 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, John Hubbard 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") Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/ptrace/get_set_sud.c | 1 - tools/testing/selftests/ptrace/peeksiginfo.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/ptrace/get_set_sud.c b/tools/testing/selftests/ptrace/get_set_sud.c index 5297b10d25c3..054a78ebe8b5 100644 --- a/tools/testing/selftests/ptrace/get_set_sud.c +++ b/tools/testing/selftests/ptrace/get_set_sud.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include "../kselftest_harness.h" #include #include diff --git a/tools/testing/selftests/ptrace/peeksiginfo.c b/tools/testing/selftests/ptrace/peeksiginfo.c index a6884f66dc01..1b7b77190f72 100644 --- a/tools/testing/selftests/ptrace/peeksiginfo.c +++ b/tools/testing/selftests/ptrace/peeksiginfo.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog