Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp50299lqp; Tue, 21 May 2024 18:06:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVM9vji6RzDql0LjXqyRiVKAoPs3NEEPUOGaMFlzPozjd/MQckOafNH8S0a4sZikXnhA+cHfdlj9BLIo5kh3a5Fv7QNwBcgUv2CeLWl9Q== X-Google-Smtp-Source: AGHT+IHC70YaPrRIBoQbG2IWVGUMbFMufZDsF9OjNUVX0kN+vd3zfC9qbtPCHBySFTJetp8/Kg7L X-Received: by 2002:a05:620a:24d2:b0:792:cd03:2fbc with SMTP id af79cd13be357-79499416ca4mr73531685a.8.1716339960609; Tue, 21 May 2024 18:06:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716339960; cv=pass; d=google.com; s=arc-20160816; b=F7TwkAbQsxCj3Y2CMFyAW0LJD3C/y6Q8TDPORtWUNQFyv+F98+nHZMgdmYH+Yj4lGT 8yfIbqLN48IId5WOTIwsUn6k+5PD2fShP/2/tjphAmCAgdiHz7gQFyg+pRkAfVk5E4QT JbYtJb+7Z9vJF4dU/OdQYePqtskBedtcaTzshNWcpq6AkG2Yoz2EXYu5y5qI2EzXNS6M LTySr2oFvgeIXSca+TPiy8vp8Q7DRYKvTB8kxSrIQZQFmtYsv3ij6z+OXHGQDQsd15Sk 8Z4A07GR7bVP1aybc6histhMKHbmREVHRxvGPwejxxwT3wEBfTUbQuG0RwsxHn5nGRzF 9Dkw== 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=SekOhk5uN00IhSEFy2Kx0Wz+un/KHciPZvQ+RL+rSjU=; fh=ilS3pUFyDrcCUIYz3PycK4DSHlkhJ1fOALY00/bRZAk=; b=J4pPMk5J/xX/EeBZ4OGn6W3DHvSpGapi2jv9q90WMDs9kt40bvwi2O8g+SYIYbTlZZ VCmmM1XxIccATn5oOBhi+eP9JprU/tj1K8dahz3INsIRNoiXVAYb/9+9lRA058XybtDQ blISBv6WXp/iDVsPK5bBxCQnAPDrRx0qQ5zW2SHtEH1ifkwjiRkRWwMYF49TRAakeg8e UHSptmUmymU4OlSt/B36YHgfhyJ5EExr8nQ43UP1UDMyHu/1ZUcNVveFqlcT2V34aoCb YRr/cbs1xeuKJGk3B28grRAc8PJ6e2wmkmnuUqGTFbG5IGQ8YUGIgBjAMUpcaDI3Vi+t e0KQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=JAmk3JAn; 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-185590-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185590-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 af79cd13be357-792bf2777f3si3194699985a.68.2024.05.21.18.06.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:06:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185590-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=JAmk3JAn; 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-185590-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185590-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 565DA1C214A6 for ; Wed, 22 May 2024 01:06:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3412985923; Wed, 22 May 2024 01:00:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="JAmk3JAn" Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.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 E76FB85272 for ; Wed, 22 May 2024 01:00:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339617; cv=none; b=ixmhRgj+eww+OCe7w+U4KThUEaME7CFXngJZAalsAI9xKfaL1zd/tlRQFG6CbjlkDkL6XANmw4jgt2SiTPY4Dz5BAAcqy3XNjcPmywvSTwO758m7g99BmJBTgaYT7Sd854IyFtiD4rrFn2DFeQM7MroPSbqb1CEIVNVhrqvUBS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339617; c=relaxed/simple; bh=bwGxj56rDXZcmxX6KG1pualMpakVJVhSxYm/fRQ200M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=TDRqCYX76pqxfn1A5MNCldbt189RIdBYUag5p+rJk9df1YCakSHszHR1am56X1wA61lNPh5KioYzgtecPFntBwZEVYikSlU4IrLCTjp+0E4Wq0UU6ES7Vq/hhYdjPQQsSLguVom2PCsRswc9sBJN5lsDRsycm2wT7tEZFYTj80Q= 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=JAmk3JAn; arc=none smtp.client-ip=209.85.219.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-yb1-f201.google.com with SMTP id 3f1490d57ef6-de54ccab44aso25067771276.3 for ; Tue, 21 May 2024 18:00:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339615; x=1716944415; 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=SekOhk5uN00IhSEFy2Kx0Wz+un/KHciPZvQ+RL+rSjU=; b=JAmk3JAnfNrgh3tRLQx5oNewyBfaUFGJko6bCu068aDSwyY/WqpBD1KPiBOFmgkZf0 OvHd28CyFtuEvSLmUgbiwDzanC6HzvxULQDEPsl4D1AN2AD2QtV700LQ29Fzk95hyoSW 3uzTUFqNt+wCDTQY9uKhGsiHum6NspzXYvR/9fwEPdOSaOyk2WK6j2dGiP89Ya7mTMOV 3WBECTHP0/YhJPV434T/v4/e0Tf5/+UAYOGrnAvbkxJC9sBj1ZXAS8m417pqHXMsXhRm 1DHQxjUfjdqFrD+6ULatygRIo8FnSuM/d+5dcYX9icHuRe2ROC/TYooC9wrwIN2JTHuJ ctqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339615; x=1716944415; 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=SekOhk5uN00IhSEFy2Kx0Wz+un/KHciPZvQ+RL+rSjU=; b=sDt1yhSm6+aSe36pXioh3DfpGUeHo0LWmvDZ2PAMRXPh22If/xSbJhNxsNhpH92m3c +qkyg7JuFNiKkdr0RgwR7Xx09T14MRTcAWKur950b3w/ymR6HIozDYUkbRY2SXECFyEl Q1MCwch3iXwMNr/HQqCjFhhV512jpYfE7hAYRuqTXTNUrcFqO35KL8083QPO+p/0TiVj p5iyysLoDqIDsl1yqksXd+Tfj0byKYnYj2jI/xeixIHw3zTMYkQoy+7rlz5QqN/4yKCe i9v5xAlANw+u4sltD4vZup1guJkfH3Zlt+VSwf787MxkKA121V2goRflXJ5KZ84FABF2 0RMw== X-Gm-Message-State: AOJu0YwzCJsCMXN5fTXoT1PySkALAwMbRkO8vq7GpBnao+AWuqWtnkiV HAgVRzkNFhTQMwNSvYh7RVu6FRMnFSButtfLTuESfLMsxqKJ4u7sqS23STooo7CRUdfZ2Lp8p3a reg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:2e09:0:b0:dc9:c54e:c5eb with SMTP id 3f1490d57ef6-df4e0d5b5d4mr203793276.7.1716339614945; Tue, 21 May 2024 18:00:14 -0700 (PDT) Date: Wed, 22 May 2024 00:57:01 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-16-edliaw@google.com> Subject: [PATCH v5 15/68] selftests/fchmodat2: 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/fchmodat2/fchmodat2_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/fchmodat2/fchmodat2_test.c b/tools/testing/selftests/fchmodat2/fchmodat2_test.c index e0319417124d..6b411859c2cd 100644 --- a/tools/testing/selftests/fchmodat2/fchmodat2_test.c +++ b/tools/testing/selftests/fchmodat2/fchmodat2_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0-or-later - -#define _GNU_SOURCE #include #include #include -- 2.45.1.288.g0e0cd299f1-goog