Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp186304lqo; Thu, 9 May 2024 17:26:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKOXf0mwjnQqTatBa1hsuqNZ6wmZrosWO/GotqF+XY4gJJKgYXSP/zGXMnqXapJhTeyGQImdRNAu+jgFNGWxQo9kkHU2RXNbF7LTN7gA== X-Google-Smtp-Source: AGHT+IGZWDnTd9gbnN94nRiFZBdWGNPzjT6zj4O4HM9+/5DGpVlVC5GwvEVUZMx8FNXVBu0M8B69 X-Received: by 2002:a05:6214:450a:b0:6a0:9a02:a1b7 with SMTP id 6a1803df08f44-6a168182897mr9935146d6.27.1715300764078; Thu, 09 May 2024 17:26:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300764; cv=pass; d=google.com; s=arc-20160816; b=aPI01vOpUqbdJLDErRy+n4s5LmTuCU4piUI+9FhcDF4H5oINjO0eWA1afIDxtpB62t +XAgsa2Yt6i65rXYZZvCUOJ5THp9xIz18tt1nBc9EkntnOLpp4XhJGz9UQELF+V7SwO9 /TXtMkBkh0Vo9C4ilOcZTYdhDPvXhyMNd/2d6nKaWX0sDR711lUaHbo31yXMH1oVRu9c z1XtBa+wvOVZlxbZLTMARdCcoW4kSwP7e+UKmJMkDCCLSRT1WZFTJshCO7pei5+tsP3W CGoDdu1GGekkV6iQxYCfFGNgFVsIcl9f4TI8rP4v3xeZ7NyRTPbuul3mNtcD6cFyBky9 YgGA== 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=ZH/PIKk2jB1jyNx8bwLH0dpZjssl+xjC9urhdkKkpFc=; fh=ilS3pUFyDrcCUIYz3PycK4DSHlkhJ1fOALY00/bRZAk=; b=TXb0TdWztYGdqO4XkoA4UGJrCjZanOYR4WJ15I+cEESUJ/DxyPSxgJDr9/OLP0mkjY YjQvc+8p3N5TeoSuvwfGcHtAdbNNQ5iZ9aNB0jYu5611ak4l0KcXGoDGhrowH6Al4yaz cpLtXE88t3gaE9Yh11P34sdxpbpwMfi/3R3i5ptEjuZLM8xwBxkiRCcsUfEfoorRRIXh MGIbt1wmCOd4WJfHW6OVfnfbkBUwuXTZwW5ePv3+tSEvHTjJs1uuTIwZ9S3Y6/kGM4jH /VfKRnvq7zn3ohuB0JgL14FNKvTCLj4sCK1vwe1RvcsFEDpbZ8xYCU9bvqXjbRpmlKqm xJlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=ihijklfl; 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-175140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175140-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-6a15f2f4504si25444866d6.521.2024.05.09.17.26.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:26:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175140-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=ihijklfl; 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-175140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175140-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 CA0941C20AAB for ; Fri, 10 May 2024 00:26:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1255113AD01; Fri, 10 May 2024 00:11:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ihijklfl" 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 A3C7913A898 for ; Fri, 10 May 2024 00:11:09 +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=1715299871; cv=none; b=Cu4pk/cqbH6ckTVLmwchoTbfpzympfinXfo8vVOgpxmqv/e3EiT+P2qHo3EjA0A5W94Ke8d8vA3EkL9MLRXv1wk5j6NyD1HQ2TylkMDtvVjML4tfKWTYSY1PiLkp9VCZew+UsfQR1CuL1UYb1sTCZAyTEZLpPki43VZgOZNVg2Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299871; c=relaxed/simple; bh=D+lO9RJiz0JqcAKo+iLXjUNg3VNWTwEI/ljWSIi/yJw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=SMn6uBm2sDDVB+EDGKtx51HGuqI+tF9CiRr0781XvEmWaI6UhXN/raYV8u0XbvaHFvcvOs5FTFPN8MiHsJwZ+WsAzbsJ/mmZiT+WTztCTewsAnVmc/8Nd8RV4IM36FG4C+tASsK9FdqpgDILdOFQDb4hUtsxYLbeQZmNRGLVhH8= 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=ihijklfl; 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-5d8df7c5500so1389932a12.2 for ; Thu, 09 May 2024 17:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299869; x=1715904669; 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=ZH/PIKk2jB1jyNx8bwLH0dpZjssl+xjC9urhdkKkpFc=; b=ihijklflM/LXZxFpQ53Argdo7ZXQMLLVmKPMognN4gaCMmD44G2oEg1261nUbvD4J7 Y8GvGFipy4oqYd4WMLd8bzoVPx7QpJV4A7MQ0qmBDw4QDbLiqM1942mPy+bMMQxJTFVo L7B7rg3mYDqiX9L7TMBrZdAnnUXZiRasUOxcWf3xnUlzXyyl5eQmIYaKuqXhevtAbv4S 0P6lSUE+uUKm+HvcCwzpO7ZDIq/cH/fAieJl0OsSUazilFf4LwDJJN+oJgZqkI8+ysYF rl/QIH0EnrfBk1MUWc6/M8gTxpLjNbawQBhcTGTKwpiAPY/pSC1gTA6NB7ZYoTgSyJSL k/5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299869; x=1715904669; 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=ZH/PIKk2jB1jyNx8bwLH0dpZjssl+xjC9urhdkKkpFc=; b=jJZfDoE3c1jUjItY+VZjMiERktxd4/6OH6oi2zCv94M20wJLfZhIF9ZmchWQRVZVu2 CE70Hv40eg9KBnm6uAmsxIyTwqMpsXX69FRhBysgqiHSten2ZPzxS3OfvplwiHCvkFW2 tvQ+kxzpWy1elWXtcfwLG3T1yhsoQ7m5Aqlderqv6X1tfhlvFWjLkTYlnAS+NsmOtzih 3vYEXNzpTRsZ2zZZ//rAd9vbQs3fH3fFNKW+IuKw3Cj0e8IyubqEkNlzaCvpupTjUOo8 c9KDYZ6ry4AYaSR7d3kOgdmMkejgFaZzgcBPvzf/8/9CIb0JzBKPDjX86Ewqs3sCMWFa fNeg== X-Gm-Message-State: AOJu0Yyp6DDmdtrko8BWZT0wNlNxQ8ziMp++NuwcGi+HCHjWv304HTBO E02vNrL2SOZFQbDrj44HnF1JC8QpuDZIISL9HtlW1X0IcP9CLWq6JWBgvDxARYVrx1IewiWcdC3 Rkg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a65:534d:0:b0:629:b0b9:e381 with SMTP id 41be03b00d2f7-6374183ee66mr2181a12.7.1715299868986; Thu, 09 May 2024 17:11:08 -0700 (PDT) Date: Fri, 10 May 2024 00:07:00 +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-44-edliaw@google.com> Subject: [PATCH v4 43/66] 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 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, John Hubbard , Muhammad Usama Anjum Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. 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