Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp85653lqo; Thu, 9 May 2024 13:26:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSSe0u7Jk4VHrcaTHOR/9OzW1/u+qKlCwyTcyqVLyuE5j25U1bgXakoFW/GWUw7P4M/r/Wo/I0MHHrgLvv6GNjRDv/lMYbPsIK/CyzOg== X-Google-Smtp-Source: AGHT+IF/0B/YDgwdWKaTAlqeHpMgWEyMTmtGx0unnTcPOnaKoIgi3MXr4lYSRHucLojcVHGyC+5F X-Received: by 2002:a17:90b:214:b0:2a5:3aec:fdef with SMTP id 98e67ed59e1d1-2b6cd1f051bmr447166a91.47.1715286399232; Thu, 09 May 2024 13:26:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286399; cv=pass; d=google.com; s=arc-20160816; b=qA4HCSLvV+lq0ctdJ0KNDfedIQVNPOdvXjjPh+2DLkF6J0tjGAoS/ucuBBZpW04fMf ksjG18MsaEZliPga1Hva84C9Nm7BrS7wIrBByiHIAlf4miW7u7L1nCVHJqBBpCZ60Wls GK3JnPG+PFYg3gHBuUs2RcoXXjqUvWygbtK1OxerzgzOSVGhi9cHr3Mq7/aXBxeAOHz6 CkaxSX+o4WKCd2aX1RsBOShDzh/dkMSpC7wBtD0fxmFMNp7g8LaWEHDsffaphbTvO5XS AG5ju89dSpeZYWjqGxxv0fzIVjUSfRpYssSaST0w+pJXtvCeDhqL4ix6JvynbG/GHNIC eTvg== 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=OfT8qWvNcb63HQewAHiwqXaD9aYY1/jM+kGh6QEdnYY=; fh=bS2VbR2tVDpT6NCB6ynpDAXmLoPg1QNFwzvgFEk7K4I=; b=hNdwpfWyt+NUAOtQedPnjDGxWYQFgjA85QrRBdUw0pUo2kjKIzaM3SkYMnbQ11uMpM 6kL49yoBZutFAdHAR8MPbm59f2ANndGnlvylOzrOT50eatq+I3/aL4luC8KGMTRP2iZz ZU10cOyAye7cixagGkb24Ypb5+PUPl4AMAVK4mXj0W+YPcYjLkxXBe7xiEiKh7Ci6Iu5 /P3qNImG0ZLgdVyVOVvGqG+EV2h9wP7kZiRH1iVF6u3gz5bTX0cja0j/JPQU30zE2fz9 hifoEGb9jOD0CgJiozVajMRRSx7f2o7wCCgv0YZqVPtVc6zhYFBJ8G8j1xo0ZhmhjE6t g+Lw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=h8UZtc+A; 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-174902-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174902-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 98e67ed59e1d1-2b628ea799esi3999021a91.96.2024.05.09.13.26.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:26:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174902-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=h8UZtc+A; 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-174902-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174902-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 E0C82286CCC for ; Thu, 9 May 2024 20:21:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B1A0145347; Thu, 9 May 2024 20:03:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="h8UZtc+A" 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 E39F514532A for ; Thu, 9 May 2024 20:03:29 +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=1715285011; cv=none; b=Tq6KCFkby2ljKdKF2SxdSs+HvIJmiivR9j9ovOs9Rb9NdfSmb1dKuX2E5KQ1tecuJ1PMBJBlmothG37y0NdWXZU9eaVeXI+wRB2F4pCB0wGWWJLBhsW/B6/H2q7M8fAAtdEep4dWwmEuEtT46ThXQDv0EWMdYLBXivrn1KmkvJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285011; c=relaxed/simple; bh=Y8SFAJF8jQkO7mNCEqRJH0HVbnxlIXsW26AJJDoR4VQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=G8HA+Sv3M77PZd+C/l6PW591KWZ6Nmzln/qLefIR7NYoXKmXv9oQIs41JN/wRRofJlcEp406JiH3VJllz+SrXmKPeYIVyycnexp/EShk8pKtGtPnW/EO4iLHft9vyIB52gnFEa9UXRaalmb7DLTvsryheKoJxxniiWqP4lpxMBA= 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=h8UZtc+A; 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-61be5d44307so19697467b3.0 for ; Thu, 09 May 2024 13:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285009; x=1715889809; 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=OfT8qWvNcb63HQewAHiwqXaD9aYY1/jM+kGh6QEdnYY=; b=h8UZtc+AzzCY12XZM/j1jdu7sC+TPus2DsyfSR9CJzPtwLdg0RZHorzCoEr8IgXLp0 3SqCsNmOtlzPhP7iLqHjoSCxHkYXyOxwi7ppsBlZH4C04IChGvSXxb82szRFQfNXqkTS scBemKx88t0zf9jOlT1H8gQAKnQbYd5EO20XCXVONKX71xyGkyyZTCQU/sslP7nj7sfo mNvGTx4gFQjf8bFXlrMFBDLXslpLaXeM3NeymP+XYQp77RJNcF/pwgd86InQJpd6mv1P EOKMI5rz+RSYzpPBL0bSdVNUOGXrax4HNO/+btuH8snhMUvxBAc+OYSx+skdpifzckmB 3CTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285009; x=1715889809; 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=OfT8qWvNcb63HQewAHiwqXaD9aYY1/jM+kGh6QEdnYY=; b=E0nDLqGpntS1sXmugZwKiAS8Fal+RvdV4Vg9hzUtkw2IX+fjYHcVxT6KOzL+4HojfW Jv/BdPclc2INbxAq6HboVqwz/cmmjmodXi3luPEQ8z/7/U+tGBZq6z/zZI7RtHs2u/Is 9POSmqYNTda3kN27nyoyQA0S0Irkurbn/Lh4hfKX3yvQY8wEQYg2GtCEncEYAL6rSnkt Ow3kYlQ1Q3Vnas2aImWusF/gq66T6JdQE1rvfJWmvb2fjL2KStzQeMsHrxlwWiDDQ8Xx giPOgzSLaohNdi1/aojoDXoofqtl6+GgnMHF7tB6kK0cijnb+yFtL+F6eJAR9lhIvScz 9QyA== X-Gm-Message-State: AOJu0YxuksSp+GYqiCUWGZN2X03OeYJB9AO04rvRjsEieF/BbiE8Rgvb H+PvQTczpkrQWIzdv47kB38tWLz0XAPfu/hdoKjGq84mBUB8ZuHG/NtKuyUklT73EzWv6AXYbpE 68A== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:690c:6d0b:b0:61b:ed85:5d3f with SMTP id 00721157ae682-622b014b981mr1366387b3.10.1715285009033; Thu, 09 May 2024 13:03:29 -0700 (PDT) Date: Thu, 9 May 2024 19:58:47 +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-56-edliaw@google.com> Subject: [PATCH v3 55/68] selftests/safesetid: 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 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/safesetid/safesetid-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/safesetid/safesetid-test.c b/tools/testing/selftests/safesetid/safesetid-test.c index eb9bf0aee951..89b9d83b76f6 100644 --- a/tools/testing/selftests/safesetid/safesetid-test.c +++ b/tools/testing/selftests/safesetid/safesetid-test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog