Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp181252lqo; Thu, 9 May 2024 17:12:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBwag533JuyD1XBxKuVQNozhdPtowI5JGmHs4FPyOFlf/nSEpgCj/3J61hk6s1Pcm9RITcupL6wQfLeirJ1rG4700PZunCLo142T8MgQ== X-Google-Smtp-Source: AGHT+IGJEE1i1fxeLixGScAkIlDgVUUUvr8rHZM3s+gGbbPJvWmoAJK+E3q0aIPbeViEKHa+bqv+ X-Received: by 2002:a05:622a:105:b0:43a:abcd:c770 with SMTP id d75a77b69052e-43dfdac276dmr12166861cf.26.1715299967439; Thu, 09 May 2024 17:12:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715299967; cv=pass; d=google.com; s=arc-20160816; b=joS1PD8sHFueppP0ipoTKhOOdzOHOwqM9h9AWaC9+YNe/YSRKidI1tlPq7yaVd39Hf vIS/2HV+s4eM4ZkZC5urtJXhV1D2U5MTv6JxpMcuMvz0UQmIUn5CC3BaptpWGOebqt8/ gHjtytirTlcNmQla1FRm4h9aDAzbIZUdv+EKxh7sdr1iGbrsM8MauHRByzddxguKBC3H k1H65baodjHVMuBJcIZUYPGWWHnPRkisjZaV18ZU0tTIjGx6GIFW0jEyqmDbMEJJOheR 0dyuVUdr9gDLpwmqExepxo8zwQNJCHOz3ZL5c3GU0S0Bn27elmLJcqKSoBVXGBtpBsmf bwJA== 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=rmsZ7SnLiO3MTUumcGwO6/3xrY/wF9JsS2sT8ar9LKE=; fh=ilS3pUFyDrcCUIYz3PycK4DSHlkhJ1fOALY00/bRZAk=; b=iP5c9dtOVdbUTq00Z3V64TfeJqsbFGrV2h3UYtZ/tUItwq4/YiTi3YfQj4mcqj9KhK 1Y+Z5hZnLKR9ctPIlhAa9ZayYNP2UR2OxNv/OZGsIX/KcHu0RBTASDn7y5nkG8AmwKZ9 LCfyLYDgdeJZDhOsRkdqLOuQTfvSCoTU0x7rwxHiBeLVW35AZ8KKZLnuBjD6v5kPFwe5 kkBzev92ImYX23xT+uc1oFNCFcvGHew7QX5/m01kNvK/nMFSuREi+pk+o2MjKVVWb/4o dJbY2mliW4HrunP20AsZobXJFW6/H4fz5Yhw6gxYtNLrqcqDnr9SOhJiNVdX0CLNtTRF eiWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RtOIeBtv; 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-175103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175103-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df566f555si24591241cf.263.2024.05.09.17.12.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:12:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=RtOIeBtv; 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-175103-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175103-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0897D1C227A6 for ; Fri, 10 May 2024 00:12:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD4A3446AB; Fri, 10 May 2024 00:09:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="RtOIeBtv" Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 6A7AB3D556 for ; Fri, 10 May 2024 00:09:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299769; cv=none; b=lyJyyk6lcQ70GEB/ThaWNVJDjrY5cBuUMJsX7fvESJxyBVvfTBBJS3EV8B01rcnnMDKuWNmU52DCGqI88jmcjQbRhQL2rMO9YymJDTnrdSYrTHNuAgD4BAblAy+orU5x+R1uADBbNRb4Y//akmDPF3xw4CnKFWXWKFoqiPW0gdI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299769; c=relaxed/simple; bh=Fdnw/LwGdQmMqFSFPRAfRPo2jqnRXRxdYj1IDRwmLsU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=hxKgxfQJOAE3F/ylRWIpCSZ0FlQh9IMZ9rS9UYRUht24f8Jc03TH5rTzjZCgja6F9f78A4RNlDgYfLpRqNa+6qshh1U+bIrbiaw+JooyT16C/CAWXplho4jnRiySN51donrNMhiGEaLazW8yl/1XdtgVVcVIlBbFnFgqAK5DJeA= 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=RtOIeBtv; arc=none smtp.client-ip=209.85.216.74 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-f74.google.com with SMTP id 98e67ed59e1d1-2b37771326cso1397075a91.0 for ; Thu, 09 May 2024 17:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299768; x=1715904568; 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=rmsZ7SnLiO3MTUumcGwO6/3xrY/wF9JsS2sT8ar9LKE=; b=RtOIeBtv8mdcccxowCto+UU6PjW/3sFZ4bKzPPgp/8moiiFsgtEIxyCuvBm+9bXqkX GpfkrM10ldOpKd/mz7GGceV/glKmzTrM3X/4aVt8z9rRWee8rQztzoVbHAH1UkPfM570 T+e13MoVnQYr8DCcY+XS8wbkVe5Kvr+qyHXd/nTjfCllifWaotWX39y2VV5OsSzNChGN Snf+pJyQDqICdPPzXtEu1y1qVGJJ7oSxaJJgyUBOiayHFNKm71aIl32m43xc8Tgnnxyz 6/gtOBexJC4LQnVbKmRl0ix4dJ197SwMAzee2QizIbu3Pr/jiz6XI+b5QX6zc9ea5zPE nQaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299768; x=1715904568; 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=rmsZ7SnLiO3MTUumcGwO6/3xrY/wF9JsS2sT8ar9LKE=; b=aCncG1Um8OsS2kt4buyOmaMh9cAWffiaYVoFXKGuQWqn5/0K488f44n+RKUq0gLsIN E0LDyPsdr0TwfzcGQIrksRX1gXTOUmomJ85vM3hwnpW3X7AZUsqTbhuQkdgwJHookW1t oQkqRPAROnPFLJmu0BMmChcy1+WkK6G6rGQl7PgSL3+B7/zueREfB9lgrQtSVfer4JEm iX94ByJqNy4fxYlBP/ChXykLUR9nmSLRcKxOiI/7y2cyEZD0+WkVNKdedgHicuYXdjto Z9O5GHiC0g+ggtfBmfRp3N6GYdIAtzIIq4eSDsZJgCDpIkawYvyGlq4cZnT7pRQklliw N+EQ== X-Gm-Message-State: AOJu0YzS7RQ5/CTQegQUFQi0eiJqT6OPPtpZK0ubWVAd3puikrECnh2V dF9xtfc4+Mju7FZQ+yzAkL7CXpG+YjqB3JDSsGm+dMnMXPjLpDf19Xce5hzOQf2vs2sgJGy3Rlb 8VA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90a:f695:b0:2b5:af18:6465 with SMTP id 98e67ed59e1d1-2b6cb7d0d50mr2811a91.0.1715299767774; Thu, 09 May 2024 17:09:27 -0700 (PDT) Date: Fri, 10 May 2024 00:06:24 +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-8-edliaw@google.com> Subject: [PATCH v4 07/66] 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 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, John Hubbard , Muhammad Usama Anjum Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. 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 47bad7ddc5bc..7c37ae2407c6 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