Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp188448lqo; Thu, 9 May 2024 17:32:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXi/bbGIRYN+yTJciCKOk5+rjYlw1HFiC0cirilKCnaU/tA4IlUgtpzEmkTOZk6/S38bknxzKtIO3HWfr4UgjYqym96Lt1QxaGK3JcOxA== X-Google-Smtp-Source: AGHT+IHMN9+znSrYmuqOXgppLXxGWK0HvbbpLkT68dVGa301pPaeM513dbzfnPZaTC6aE9X6NnMP X-Received: by 2002:a17:902:c9cd:b0:1e8:7906:5be3 with SMTP id d9443c01a7336-1eefa13a1c6mr40634305ad.18.1715301127898; Thu, 09 May 2024 17:32:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715301127; cv=pass; d=google.com; s=arc-20160816; b=wyifb/DPtiiSmmnKqnRXyf7e/y/21xRbucXNCdql2ejdwWYq755ePg3Hq8iV80o2BO bJv/YLBKaTuBCMS25smMiZ0Hjguszqh4x4g5u0Pfkxmt3Ye9NsPox79j3zsXonovaRYR ii8WjOL7W30eb9PF4nzqxsD+Hc7KCP+5AjxNA41LT5glCr0mcV/VFlk9UXzxNA6rvp3g eTRVnsw/cy5PxgnDzrKrAE67tiXV4pHGsA6P+dGhaWfpqRdLMzejl6bH4+T+JEgs/Aqx eMVSdHsx8FtN7VadQDKFQ6DQyMyFdmTUu5bLe7QwicNBfvvbvI34Om61DDLAHPLeAZ/h ynvw== 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=Pm4mQmUfjR+WgpaOe5aEacZBA1kgFDY/sgKTjpP98e4=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=T4R6dbjd3EkrZMY5ZpMW/CyCuKnQuMN+xvGeNHvtQskVez5spaiVDcjY+1U5Qzxgvv xzC0RbDeugTApAXIedHBSWo36SX+d3A53w3e8XxQ7Ink1QptgVygsv/wSFwcQmWwoD2j 9ZINXwwTZYvaHomYPOya/6QqPmXxAuAhw8LSFbWJIZ81L8sqkQjyWF+n+Onxcrhfy2+g 71bqcxuvj4ZX6teLGjl0Px9/Y8AX1k+6of4HHjnH8/bBXGpFnyk7RBg0vNIlCXytOlUE NkL39VeX/VjASJPCXpcYpTjeGjYmqvM7/aFzkCFbna5sd+1UFTX1v1nxkapodqPyaXb9 Ffng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="EMrb/fZw"; 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-175153-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175153-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. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e82608si2395679a12.3.2024.05.09.17.32.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:32:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175153-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="EMrb/fZw"; 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-175153-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175153-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 97DBF283A48 for ; Fri, 10 May 2024 00:31:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8306213E023; Fri, 10 May 2024 00:11:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="EMrb/fZw" Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 68BCC13DDA8 for ; Fri, 10 May 2024 00:11:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299907; cv=none; b=UyqfPU4rLoTe8eQwR3O87Cyr5xPXzQ+AuKPwWETfUMJyhGWcd5m+AZ8CbMaiyKXvqJCmf1GO7fqaNLjd4u5WCmqZdaF2b4pj6E6VeJ8j96mrA2ubZAvDlLcNI8LnUXTMuBslKffj6uD8P+epwZnXxM10JeJDXEo8Jr48vbqOpQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299907; c=relaxed/simple; bh=ePampeVNrBlZKDN+0BSw41zefNA0MNugUHscvuEKTwc=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=G0DG+NxWn9Em/PS9TRCUSI3YNBiO7n97sY3E9kJNnLKBphKNOkMlOj3EN3D03Jkt0BB2jbGlLM/wqLu17kjfeTnHGo/2EB86Cgx8L/4/8AffMiKR518N16FaI6sYLyRHLy6HWlZr+7q79FIA7VY/djlMT+yim3895oLwEghDFT8= 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=EMrb/fZw; arc=none smtp.client-ip=209.85.216.73 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-pj1-f73.google.com with SMTP id 98e67ed59e1d1-2b38f8cac9dso1943219a91.1 for ; Thu, 09 May 2024 17:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299906; x=1715904706; 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=Pm4mQmUfjR+WgpaOe5aEacZBA1kgFDY/sgKTjpP98e4=; b=EMrb/fZwcD55D5cFaUrWtFupfB19CKLb10vUjZEUOF93zz3lCAv7BsGYS2sjE6nNn6 hZuoq1LT8U6L5ZucLHv5xZhL/1qv0kErwSxfolpu3w6kG+LGjLMYEyhx5YYGrfLj8NvU 59whe+okJaZfHSubpaaa6X4M7JQAx9asb1nVuKwoGKtoth+dMecAMc4RGXPZtJJy/SYH KhMDfFoG4T+l0BvRGmt/RuwVOjcPG1I8Tzw5QbzE9mWqvhV/hVnieLm8vBRqYZ4ECx38 mhLt22bj/WmZ28uhC+s1IW7+v/q7nO2Nl55efKuZWZ/xntx/I4UulCer5IrhE+Fq+Ama +uzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299906; x=1715904706; 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=Pm4mQmUfjR+WgpaOe5aEacZBA1kgFDY/sgKTjpP98e4=; b=WIJBHmtJ7Bhe87M6lV8FbPqzLzMtJmUGbYsz34MgIwmG6cZRtPXxspNriFIky4iGgF j57Ha2b4u4ptGFGiFZ+wu1jikSIbqpSgBeP+Bkmslj+uiZJ7TJR0D+G/Sj01q3lVldq5 kRevlq58WecUMNYokGDAN5nBRrf2lfmp6XSPgq7ytwHs2UtII9zDMaP0lSnxaO8ahix8 0o7PaLV9o4sAPZCqfi6ibRBaIhJLnC0gaYL839gFuTDkDvK7icuNKxKiAyUsh+Nf4oyV s2ws9JerJOyh2lQp4chEjqEZIivk8W9SIkS6DjA3/ofntdWLIIqBJZ9Y4eQrpoj+yWe/ Ljsw== X-Gm-Message-State: AOJu0Yw6KGb/upsEk12pBG18/THr7upjWWdUO6E9Ucm0h/YpCKL2WRgL oy6NMNvGJtWusOvQklhsB3xCSYCZa/pDDkv8JR9mWVSObiAGOjZf3YpBjTvBTbeKQmnsu6M6vDk TOA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90a:1f8f:b0:2af:499a:fc9b with SMTP id 98e67ed59e1d1-2b65fe1f31bmr26724a91.2.1715299905725; Thu, 09 May 2024 17:11:45 -0700 (PDT) Date: Fri, 10 May 2024 00:07:13 +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-57-edliaw@google.com> Subject: [PATCH v4 56/66] selftests/sigaltstack: 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 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/sigaltstack/sas.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/sigaltstack/sas.c b/tools/testing/selftests/sigaltstack/sas.c index 07227fab1cc9..36b510de0195 100644 --- a/tools/testing/selftests/sigaltstack/sas.c +++ b/tools/testing/selftests/sigaltstack/sas.c @@ -6,8 +6,6 @@ * If that succeeds, then swapcontext() can be used inside sighandler safely. * */ - -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog