Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp63048lqp; Tue, 21 May 2024 18:39:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXulacDvsE7XFgMiidtUI5kya8H1cYmxBJcuMkCFSQXdjeITQbmNr+hUh8vPfEYLt/ZL0Zt/YBjzPNWE58+wyp+u4qDrKkri1ckWzR9TQ== X-Google-Smtp-Source: AGHT+IGR1XP76kwWl1n3L/FKi7dWXzpkNBWHalwRqy5RSCirLAX1CYMMKFk03iYhKxL07fh2YhAz X-Received: by 2002:a05:6a20:9741:b0:1a7:a72c:6f4 with SMTP id adf61e73a8af0-1b1f8b32ad3mr673573637.41.1716341996776; Tue, 21 May 2024 18:39:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716341996; cv=pass; d=google.com; s=arc-20160816; b=xPtjtLLpvgAk+QRb14vqerF7L9CSqu2W454D6IaGKFXbMUyoftFH1vdEGvjkrsvIYh dD7xEldB8+d+aavFdmdeiaCUXCdsk6jE19+Bb6Da5kH3UJz2O24OQW2cajG+DO775z8b IVsEJLZq7z3p8U5Y2VXZgR9tmf0oyvelLOmMXkHC82IbQ4+ht/9udPAk6mEi3gn0J06A zHmBTiroZT+MZU6xi00vyhL1poJNgOQjhvI08FDZGqT8ZxXAa1K/Qw8j8gV9cqgRYu0o WM9LAz8M/PSaq76HdPzcjhIG4lB/3lEACbyYvbpNrF5SdTnKAHKLdNSnV0BSEFQzfXH+ BhlQ== 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=3QBjORy9CCAcoNFplhmp+lv83AAPBVpYWXZaRSdbesY=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=CoGlXX4FomZ8rh9YDyw7denn0woW7+FwNNShiGrN8Ihsvo1lBCwQD+N8nYCr4zL2Wk kmkJYn48nsg4UlQM1Dy/NqKxWIPnct2IgJs7RfG8OGkfiHBMCvHKCDPx9cf5K7yJH7Jn yrLYLuWooyy3x7sh2Qiwggg8xVEFbEhgX/4P9HN9IdvdvfoWaNL/pE4jSmcdRHer/m0m gm/J9jXbGxIt+RFsCmPw90DvWVCYdz0MINhiJ8+CIN6xTVQjrlMI8SzumkhynQWKedy2 LP/WmKL+HxJk/LyCw+HsAsecDmSJTycFeacT4nYT66ogObB3s5Vi37lYIp0uzmllY3r6 RMYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Co+AbFUT; 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-185632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185632-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-658c1225c54si8509986a12.793.2024.05.21.18.39.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:39:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Co+AbFUT; 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-185632-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185632-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2CE05B22BD7 for ; Wed, 22 May 2024 01:22:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E70C15887B; Wed, 22 May 2024 01:02:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Co+AbFUT" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 D84FB381BD for ; Wed, 22 May 2024 01:02:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339737; cv=none; b=X5wvGAIWgp/NvsTLG+GrV2ethCay4yGAqHBaEYFZXyhtHV1ViDOuHnZLIIVpjJ02Vaee7QFVjeqqcs9leuKUHPcLNC7NGlS9p9TWRDUtngjWKSHu5kt2pOfpQdQOwmJbFAbykaWvZvmbh/S7KYOpbezzj3KyPx3mP4i9tDA8v7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339737; c=relaxed/simple; bh=zPNuHZmW6nYPA4b1ssPkMnA//ewKrdDtUiQgRbu9K8Q=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=sxrLniZ4rSGd8N97sdRbpKvVy4q1xdLRpY4g2EUimukhbqQ7Kv8/97audF1hifPl41digvYRJD9HC/wD5ZjnYChvUIYnAsqOyD04ORn6xC6wLgnpWEvXlS2dAw2oCqZ0CV1953QjrxqcEXqa2Of/dnaMRkO4JKM8+k1tYZLl8u0= 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=Co+AbFUT; arc=none smtp.client-ip=209.85.128.201 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-f201.google.com with SMTP id 00721157ae682-62035d9ecc4so259703507b3.1 for ; Tue, 21 May 2024 18:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339735; x=1716944535; 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=3QBjORy9CCAcoNFplhmp+lv83AAPBVpYWXZaRSdbesY=; b=Co+AbFUTTk92+sYWVFc6TgN7gG64uIDmTRw1xaqg5rOk8Vx4BVfuVjToCVWUyBB8cM nPfGDcNdaK0Ilsvba5jzM+NRdBowFKLeJ6ElhqgrGlsUknD7uvIJMTkH2m4HPw2jdLdj JEc5c8OQbtcdDA77sD6w3FIiQKvoRgwwyr1VFvyQk7/W4TRrYQEd2YnM8hec0Che5OBO 86p9daPVHIPkOF4Mh5YZ4K4l/UDA/qw3vNPjK29efLX6+wy2pfBFOizFJYZZ/yEwYUZz 4yhtw3foM0pI1QOWqe9ldfASdvPy2vQvt/+dUNW4vZHKKiu8BQr4B710+/uZcAv9knYn FPyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339735; x=1716944535; 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=3QBjORy9CCAcoNFplhmp+lv83AAPBVpYWXZaRSdbesY=; b=h7hipT2saKK4Y8vIFpXYvBBSPImwFsvp9UTKFa377mAWVESHkFEY5xxebz5EFzrWpG ZGNSpnylR5mZwhdYaabm49EzIgBaaIrEVfWYDG5ojiwlKH3DBpn5cU22ZAlYCpzA/lnk R6hoTz5PrDG0iw8YYLDEex3EQHzuV14H19FCF5xQHRglWHSFOhIXwFq78UvGuHI/18CI SiP2uuqL1d6TTBcllWnlyo4EZZrdVCp2Ty8oNUKHknEq/yROHYporz8LZKA+/c3XsYv/ HzpEbXN30X4Bpyz1HzCKlc1nT32Zz1h7yMiOu2Mo3uxGMUZqzKcMh68/wpmeyXBLwwcX Mr0w== X-Gm-Message-State: AOJu0YynUXkyFwRlRF9ADF+CtJ4fc/XRuE3hwmrryYY5NKRn2LABmGXA RUjAMjcblmyPBi49Tniv4rlHIhfopb6uxxIdroUfe5AHZjayD7WZFf+O/DvZ8tUFJhGzs7MBSr8 2Pg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a81:4849:0:b0:61b:791a:9850 with SMTP id 00721157ae682-627e4891fcdmr1675237b3.9.1716339735130; Tue, 21 May 2024 18:02:15 -0700 (PDT) Date: Wed, 22 May 2024 00:57:42 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-57-edliaw@google.com> Subject: [PATCH v5 56/68] 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.1.288.g0e0cd299f1-goog