Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp83562lqo; Thu, 9 May 2024 13:22:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuO0G5iOlbO6q79mmpjkcXxhv4wRl7QT4U5F/vi4/hw6FO/HQnShqCNvXsrod4FDgiOubtBR1XYwNzVpU1Ucvv8C1WwFkcI+Ji31nfiw== X-Google-Smtp-Source: AGHT+IEzoyZaQTn1lvDKI/qU9PPfs65FDFovmRFrtLV9O/67hwmAUwr7vZXJ9C6nnKGJcKx3slDM X-Received: by 2002:a17:906:da8d:b0:a5a:7a1:5da3 with SMTP id a640c23a62f3a-a5a2d09e4b4mr87408066b.0.1715286137556; Thu, 09 May 2024 13:22:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286137; cv=pass; d=google.com; s=arc-20160816; b=ScCZWMja8FoUWzK868OOK4+OvQvVAsTdcSWmQcOx19Jvc9mqBxJMGQtYWRRWeBNjZ6 BZpYmEvkmGK/Yh8mgfol8VCaL9FiTtaU9pAnzK/PXRSTnx34zjbTEa03k7uSD4OF7is1 d4SxSTzwbw4PfZUWqvHEfG9PamLThlhbLpelu+UOs7yvT0lsOmhxc9GG61/fiNW7s1C8 xDaTQhEwYADkPQB/qc74UU+wDj1Os8xnnT3uduXlFFmKiklX4na3KPhL0oiPguMKWH4P f/Pl/1DCed9sPA/tMNgrd5KZuQvOZ/bwfot/np+1yHHN1wRIlPRAB+wl0bHDYnVIXh1u 3seg== 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=xEcgXmlghWsxQT9HZckvmES1mnfU4TIKjOLdePjkrYM=; fh=sSjQg18kzCNX+AkxX2KNMgHFwb3w1XIU0ZEBFR88FAQ=; b=bvEcvh2dQ7E9kyNirUxb0mFzf4PzfYLRo/Ivap8eiVX+lye2xm+FEO/j3On3bJyo/Z /4wGqn4Ad+5J4vQhcROgWIcY0OiUjJM7st08SKYTRg5vRWnf3bcBrmZoWNElEhGwzD7B 3IpjC+KkyFJC7PJS9MEav7DfpuGWvOpd77zRkYB7vTVnq1j/d+J6ukyxOchyAoclI3sQ rx/gm72FWGetaVxAy6le4K0XFaY0VByA9mWRax1K4uCZPnXnWmLPPSumSUBJNVSRAtsb qxA86PvH7k9Jd7b9Eje6ZCjc6REeQfY4uQug3nGDCyKoFoEeLh+FMH27/j/JJKmU7EmT hK1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=dJVqKCP2; 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-174905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174905-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba397esi110575766b.645.2024.05.09.13.22.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=dJVqKCP2; 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-174905-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174905-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 E89F11F20FA3 for ; Thu, 9 May 2024 20:22:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1665145B0C; Thu, 9 May 2024 20:03:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="dJVqKCP2" 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 7E33D145A17 for ; Thu, 9 May 2024 20:03:36 +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=1715285017; cv=none; b=abto8+NQDJta96TUCyP+vzAz0HwdG0z2xOpKGze3WksNjxZaehtIl+cleIx3J4sCJOoxCXjyOqdboubo1ajZl0uleCQd/RzYYn8Bai92gWfMNuYr27DsLUKMavbWE0OmLRjcsgXUf/BR5HB5WVD09Wogp0Hn7owkCZ2SpopLqLU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285017; c=relaxed/simple; bh=I8yGuW/KXCCT2ylL6gzPoz665BMtEAWkOpPaq+pMnm0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=uuqtofcC02eTGLd34pLM6A73/+yjmV9uCFvASLcIWTc+l/ym2kVbjlqdqL4W6l5HKqlehl1rxlP/KHvgM6fugOkKQNOra3jP0fOvGuGACN8a4uB5WNW7Afto9zSDqitOQs8y1qnx8nOe1FWL03r4aqa13geHA0/j9mhE6sraDKI= 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=dJVqKCP2; 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-618a2b1a441so1733015a12.0 for ; Thu, 09 May 2024 13:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285016; x=1715889816; 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=xEcgXmlghWsxQT9HZckvmES1mnfU4TIKjOLdePjkrYM=; b=dJVqKCP2vwIH/vfv1rqkZGJqYyq2706ApG7kGGU3RJBtCkco7mG+D/uy6HATBz+5Po kK3SDuuATALAZIbBAeqmfnTTltqr13OP/r3CLyQ+zpGgz60HNc1XTVcnju2yXQ7N+WX3 8N+HCuQYdYPE5Bg6YoQyp+goa1R89rA9xrCXaV+quJe85Y9tFWtjxyQ3mpziHYZIWkaT vBWFlb/Vq9o0UGbpRFJ1gypBQr7FQwqSOHgHWE4w0VwppzJ6QTBkfFwnQi/iPh2rAPT9 QM9jr+wOvrNfyWD4yLvivqMqmh4bdwaqM8eazvKlbFfXGelnhmNVhbDCY0WhFe2LFv/T 1TYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285016; x=1715889816; 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=xEcgXmlghWsxQT9HZckvmES1mnfU4TIKjOLdePjkrYM=; b=bOKjID+ctGAWAAckml/OBnV1d8KIYjL8ndjPjCeWDRwu0F2et7q0U0d+sv9T0PA8zQ gWC5mH6aPLDUTc0wMGjP/GEDZw3L7yX1deZVCS4IHm9xznnQ4GtkSwZOX6Th3YuV7SWH DmQiT4k/6sVTmphb9eiACQ3HqWWXS9bgcR3INRXLzO88FU3kTYxRhoxLRCJxZUROOdO4 WlzmLOPSRoA5nIEhpBe2TT93ZmkOzlJ0Zr2cAHchqulwUmngyTyfUlFEF0+2xe+DEsys nSeGYuU9cqgrDDzloYtZJZpc62vJyAPVn2mAinU5b4QeeGYBmHZVe0Pko+fRpnMUordI Becg== X-Gm-Message-State: AOJu0YyS3KWKXMn+/Rpq4zKVPF8vEZzu8+P8OddRSX3i/6perZENJwzU wWI72t8d+Iy/gl4FhUcXHIi/tM/YSuIpohtaJQBi/c7azIW8ZbBT0198lmT1nfjbngMPAZ5eqWP soA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:903:11d2:b0:1e6:624c:f1b8 with SMTP id d9443c01a7336-1ef425511a6mr278815ad.0.1715285015792; Thu, 09 May 2024 13:03:35 -0700 (PDT) Date: Thu, 9 May 2024 19:58:50 +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-59-edliaw@google.com> Subject: [PATCH v3 58/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 , Edward Liaw , Andrew Morton , Muhammad Usama Anjum 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 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") 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