Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp76937lqo; Thu, 9 May 2024 13:08:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWg+EtcT4sYg2rxjF5rxBk29LJgq1comhi6UX6dexzQ3a5aWPTy2tsFqiUkBbL+WXAnMdobj7BAnMZg1qPx6pgTyr7H/nuJX++PRpVCxg== X-Google-Smtp-Source: AGHT+IGL8b7RbYxBO7S0iYIYvZmwWfELFYT9zcDylV0nFpyH1j4p/zeAh21njsA+Asqn1YG2gsEB X-Received: by 2002:a17:902:9890:b0:1e5:3d8a:75fd with SMTP id d9443c01a7336-1ef44162e66mr7156435ad.69.1715285316495; Thu, 09 May 2024 13:08:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285316; cv=pass; d=google.com; s=arc-20160816; b=XqkXsutj7PJAuRuyepGILdr709OtckDKzNTOVmx/9gzD7uqAgE18tcPGx49Uc5eHaA tJNbU4dgUhqJlowzTrETLMCTrgwg2aM4aEIgMDQe9+/2PlvGfLDbBBKeIwXRbjvaIdy1 BCTkI2gVuztXcJ2OJe/1h2klNWDNzNMXin8faLMWVITRempoVRqH/2T84mlYAAp9XRXw atNtk68Pax72IWNYn8q/rxs7QvNyPsK27UeGAgLkcoD/NYSg/2y9oQoQ7hn1/K0xuhOd b8pvOsThF7HMZLuLZOMBqeoI7+Gi9WBes3TLmEoxZiFreWRrGJZFx2HezsElyrhaH2J7 PQDQ== 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=vKajnWgRPRIusaCsN3ehDRoTdZ5to7bBmZ+li5CBaYY=; fh=hFvxfBIsQ+wCfKLzTm40NFScbBk4K51Ic+FcSLJ5yi4=; b=jaNw4Ui+SM5XH21Rzuw52JhnRl6oH4Z5tJySIJZdbXIV/MGCtwBciUyUthdNaPmJpC LLoo7ReIvivWX36vaccfJY0flmJ0EFk9lWbRwC7jqIXN3szyqrCfdp01IyypNBk0OstQ 8tVin+/qutmvRCd0pXt+feXMtTahw9ihwC/gOJFJ15KB9ezpL6jlWLGLAlJmRScKK1LX boJMsa00v2cnPtEKBQTRD8WHqmYES8LB0AERIse2urB3Ia7oywqRSCY9uPjcV88ofxzy LYFF9RyzLLDlf6bd9AJpZkTDeT/xG/z/yDw+UbMEb4cZyVmeTrco6SMfO3Pliv9yCCny naxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="N2E5/RyY"; 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-174854-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174854-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 d9443c01a7336-1ef0c268b4asi21824715ad.586.2024.05.09.13.08.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:08:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174854-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="N2E5/RyY"; 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-174854-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174854-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 F0458B246FB for ; Thu, 9 May 2024 20:04:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E75812883A; Thu, 9 May 2024 20:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="N2E5/RyY" 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 33F00129A7A for ; Thu, 9 May 2024 20:01: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=1715284876; cv=none; b=Hqge0U8xCsqssdIaaXdGSqFLHc7QRprch3QOj7Wi8nfilEwGeshPlnA5rGvOu2v7w37r+d/Kt0yAz4vQRfxXsvT0brPtNc1jkX6F3xLotN//g7ObeomeW0bfFGTQKA3FGFBYAyUAxDc9RZSGQdqr/BYqFAsN2ecmXhlUY7B2UjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284876; c=relaxed/simple; bh=nVA7WynaYFBVsnuTAeEB3HhV8hTaJ/3V0zzotuqqx3U=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=WhN77aRs2CZz0eoWJPN8Dh2ewjkYDfbjLInyQRIYDZLnJdWEXRoc6fNNk0r9leq1RauNLaOb8Uez40YFZCQ2V4A2HY7Oa4Zb8Wi7P6v/jqCqZ1kFpYVc+V3OnXSN+pOYPLyLxf+ug2anbAjMCYMy0f093RhVkcO8l3R3xYfGxlk= 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=N2E5/RyY; 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-61b028ae5easo20822287b3.3 for ; Thu, 09 May 2024 13:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284874; x=1715889674; 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=vKajnWgRPRIusaCsN3ehDRoTdZ5to7bBmZ+li5CBaYY=; b=N2E5/RyY3Sofe4tQmN1U7Texo3jUIp41vSmRp3qfu64rUQJKWKqDmhYjuWVvpModnd blvx/c0WoXXJFilyGK01v7JPVbZki13roJgOBEm+U+K/NALmNJVVLN94OJGysuENYjvH AMGezGUtvHA+mlhev1JOwEEKXGmGpuSuT+WzfNl6S/DN+OmMBCfdtApJBLlzkpfXui1W yo695cblr5w9R01mYtxWRvKKu/v4aT4clsVekRna6C9AApMADKj6hK5ohHF+C4X6AB7V 5BY95UjMSYr5f3PE46CyYKFQmw1nd7qJjfEUhwLQwB1sDg3CJr6fiGmvH0UKXH3RiecZ S69A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284874; x=1715889674; 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=vKajnWgRPRIusaCsN3ehDRoTdZ5to7bBmZ+li5CBaYY=; b=DiPxmMIhDXQpdcjQaHmmSCf9ZRAQZ4EOoBgvebf8LCQyHmm0EIpLF59q9z2k6UxSQn Ko9IVAe86FAlEy0IDuI2sxhNemeUF8ESQZLRt/jvPCatckMivoEDd62y75taO55bpAsL YNKuA3bfaGxrduIWvJdJ7vU8sTZMFA078g8MVwEVEhGxtLDCQYlpfNJ5TOSf+JiyG7Yt rXZfZiAm0SszERn8ZjRtShyEBDoToavh4RoJJ0KE1yeiluy5NvB01XIrbnO0HuyRNlKS ZeFIouJxDrv/8r7J5s69q/fkTrEQ3h7HiPYWECRKS9wBusFCbczzY0hQmSEZFSRzqxpC 5H/Q== X-Gm-Message-State: AOJu0Yy3dzmNho1Dg1pLFD3kGHbGQ+R83jOGEQsqhMf4NiMx4boxRpwQ qsyh4S2DmZI2BVuBBVHKc5oSuML2bsB4iEoJ4PsUIIUavN5IU1LGn16pTw/LwL73QOWVxNdDgT6 1oA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:690c:4508:b0:615:e53:1c1 with SMTP id 00721157ae682-622afff693amr1508007b3.7.1715284874424; Thu, 09 May 2024 13:01:14 -0700 (PDT) Date: Thu, 9 May 2024 19:58:01 +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-10-edliaw@google.com> Subject: [PATCH v3 09/68] selftests/capabilities: 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 , Muhammad Usama Anjum , Andrew Morton , 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, John Hubbard 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") Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/capabilities/test_execve.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/capabilities/test_execve.c b/tools/testing/selftests/capabilities/test_execve.c index 7cde07a5df78..e3954b88c3ee 100644 --- a/tools/testing/selftests/capabilities/test_execve.c +++ b/tools/testing/selftests/capabilities/test_execve.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE - #include #include #include -- 2.45.0.118.g7fe29c98d7-goog