From patchwork Wed May 22 00:56:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669912 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.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 D228442A82 for ; Wed, 22 May 2024 00:59:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339599; cv=none; b=Mq5WmrW8YUFoOONH0Ajx1ZDIfcHw3pJ3rhPqoEd+9WbAydrX+vbstcyMkBOFP+4zTs2Vdn/RJI3B1IMDaYUe8wY7VtTeFxyIqf+wGjNibKMV7gRd/RJsaT3JFD6jRc9rPq98cXl0Ov43fjxWuG9v82PTHqTEXrHeV+TXgAJEGBw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339599; c=relaxed/simple; bh=TjcsFe0gqVzale4tacIXWA6aggwGBNR3/qZPOEmsRvg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=W5lfWFBls/xR1jMsM6FAITh0Uw/4nH2pMFOQJ5vzC7DwVJmqO2HktP1iSBl/2mgWtkEZ7mZwcnxntBNCLzsk0oP1bCPEdjtT5NRRcUGrPBhjlwzKl6PzagwDZssqWLB/aocdYGYjC/0hIjQCBCSUBez4pYXkdU9Hde4z8vr/zww= 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=Vygb7nTa; arc=none smtp.client-ip=209.85.219.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Vygb7nTa" Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6b26845cdso18741485276.3 for ; Tue, 21 May 2024 17:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339597; x=1716944397; 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=ym3nXUXeH07sf/nsYazh/meC97pdGBCDIsOIJ26bWuQ=; b=Vygb7nTaltfQwkSIHwFz4O4/wqPIe8xBvdQZ0emCXKMSXsU+PtsH2bDmmc7xS3LX3n /EMvc+pKmLWaapdVOGr0Ykqgkimc+a+FQnOUlNoaxS+teG07mmYgZ5rrCkQ7HrXHLg6R qiP2xhaJeO1PgN67xOMv1M4eHJc4rXdlF/ermp5nzaZnIOiJs37WmfDaeaY7jGLWvSAw NzgYrtq4IETKmsukwAcJLZabXoGRoqtc7V2+yD8EVcAndySlVV+zfcQ76S88teTiGnFl p23PxjYzgtwELMdYcKv9Tlud9EDSgE3zuO0HjmIKQYCClSURyg1Lpkezh+vRFDUNwCe7 8Hfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339597; x=1716944397; 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=ym3nXUXeH07sf/nsYazh/meC97pdGBCDIsOIJ26bWuQ=; b=FDuZWgIphhKTXrVYDY4YgbXNkxAUwLCLP+RIYMpUFFj82IMOlCSD5Q7GpRyjSI/bG9 v1O0yooXXzWqRr31lIN+A7/mw0FzsY772uaAXIstPqVpVRMIJ8SYPID8AcOdrl4bPhHF 8Hert5eFW17zxSGPuEnHXSLIK5AC+D+Hi+S2mEF+06knqW6t75FShb0RKkgnwdRU6elI RG295gYrfAzpwY5YQ6KF8DHpKHALORWm/3nHTBviWh+uRzEJSn9ZNCtV77cN7U+aHSOU wMYukSf9zGmumkAS1LjMm2cjAlZkvD6gProd+LlCTcITcrZX1WZs5ywq5lBitEr6gZkt ONCA== X-Forwarded-Encrypted: i=1; AJvYcCXUuYTqFAB3WB7FaxtNvpjl6M/auFj0IsD9nqp78Jy+Imfl6s3MmWiAN+LBZ0XFn8WiIbBxfanp3IoV0CVt2YTM0fXN X-Gm-Message-State: AOJu0Ywg1//P3y7XiIa5odggO+3c+Wc0aX5uMTTMFKs+lJbG/ugBuCDt ZbJ36rAhqtyCKuYTj5ItQ5Q985jwAz6X2H6diQYpOnRlAkGp1gofWtG4a119gJAbrENBz5E5LVr PNQ== X-Google-Smtp-Source: AGHT+IGqx4zcon16q0eoDTQDxUtzKaoXEeTVLNF4sRkWHpre7T5XR+6WmP9e2dcSPYpPAo5gyN8nv9JO98E= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:1005:b0:dee:7db6:10df with SMTP id 3f1490d57ef6-df4e0be43a1mr197886276.2.1716339596889; Tue, 21 May 2024 17:59:56 -0700 (PDT) Date: Wed, 22 May 2024 00:56:54 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: bpf@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-9-edliaw@google.com> Subject: [PATCH v5 08/68] selftests/capabilities: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " , " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " , 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 _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