Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp57398lqp; Tue, 21 May 2024 18:24:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW0Gjau9WIrhxmovV+sjZPWy2cJ+fa5OPPI4nallAklYkDsQT09ru3R5vjly/wyBlXicNrwUnQvJ8qIXeZ7ca7ug+dAMhkx8s7EKoTKFQ== X-Google-Smtp-Source: AGHT+IEQWd7ODVc9Zhkh1EYngpBOW+snUKl1ioiJ798K1FbORmyvSZ3umrONASJEKZREyY4Nd5lx X-Received: by 2002:a05:6871:70c:b0:23e:c756:5c56 with SMTP id 586e51a60fabf-24c68b5de3dmr803038fac.22.1716341050015; Tue, 21 May 2024 18:24:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716341049; cv=pass; d=google.com; s=arc-20160816; b=uSH1A1G1h8a9t2p4azvsz0a0Tdi+YkzGcQ2jaLaz68Bki1k77PiFabhK0bqh070l52 RG+QkLl3LCTSm6QoLtPrkPOZAlKCFcdK2uvXRVE5q1bVOCr+TtOGYj+Y+czHkLqCBfoj hkNONLKK2mRIWVx8+Egju9JnB/c7fkDvhsLX/we384coclcIAcPQiy3ntcBPVZWlzJq5 hOF1j4NZChe0XPvTvGWg8gX4UP4CMcQoP05lYcfLg0UkNrcjlERlD7iYl4Gvo8rtZBEO YTOWMGrAqerqGBzF4oBjjO1qDKhJCOSjNEBEuuANGecZBb0aSJ1/3BslelMCOyBXnAIi J7Jw== 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=xNYd9WLAMtXto9r5wZywfmnRKL4Xp7DbTMTwTIIZc1U=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=TNI06WuCTfIfYgLFMoEhV9hZ36uigJSIo/UJveyllekwceOdceyrdohGb3GVUNb2Y8 G326Go3HCYsvmHOecSqm9ARc8KAEKdHGH8KkYykWpCHcrFutr9AAm1UfYfjV87qp4Y3J SU2BPjhFM+g71adW7CveChzZnIUlbWOMW/lSlVpAYV33wQbSFvKJQ4eUjhMFdJ2+aUCu gROXZo1BDzS7PwghFzOSWMunRMZSmsh7CBRjLWjLzbB/876doYWnglwsx7uxdLaGxopV Vqhd5JGEwEgYzhaEJq6MgLj8klz+6LBHnYDzgKD7e5YPEpcdEE4SI/wkTTUM78uC/py0 L4Bw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3ptrc7+D; 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-185608-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185608-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a74fc8si26207396b3a.58.2024.05.21.18.24.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:24:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185608-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=3ptrc7+D; 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-185608-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185608-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 7A739B25A70 for ; Wed, 22 May 2024 01:12:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1583314E2F4; Wed, 22 May 2024 01:01:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="3ptrc7+D" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.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 CC50214D707 for ; Wed, 22 May 2024 01:01:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339664; cv=none; b=ZrNWgTXsm0s53pZVyJKWQX4NQU6unNgp9ys6TjccxT3nciywMDMFIKST88k931/MiYumaA8E0O41rjjCJBO1/KEoZdvav2j7k3w71FaX7+ePmtAzMYuOWqjzhf0V7LG/gbpDnrFOc6JP7tXkiK98RsRY6E7aDttAH6MEEeTnt+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339664; c=relaxed/simple; bh=L1CR96I/OKaP1P4IlG6D5+TQKAt/OUSZ/m3bvebvktY=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ZOlWENiyAwS7tPgN4I/hgngWPCWDPxzEAYtWI6qvynn6/ZgG5PykSZtKOOPbBe181vykZ6Z5UuAoRdSYwkp+x/aGDdyg311AJNBM9DXrsvcLzC7AwjFqEaPHxcJAN45PdnlMC9sAec7hGXgDoVrlGHcjoGMqUNkOxXHDI9NzshY= 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=3ptrc7+D; arc=none smtp.client-ip=209.85.128.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 Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-61b1200cc92so236505027b3.0 for ; Tue, 21 May 2024 18:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339662; x=1716944462; 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=xNYd9WLAMtXto9r5wZywfmnRKL4Xp7DbTMTwTIIZc1U=; b=3ptrc7+DHpo5Z2uFFxCCvdB1yQWxjrxuEPtnBbt9Q9Wv1v9opF2N3VND/L1e+LqNDK 7ZAfSaEKw/70QeLNwcMwmoqqDnZyachMI61+0SMNs4XHriOb6P6eFZknFiVaa1UPVBkY f3OGZvuOzmNu+x/t4vaJ2nJBZzZZ1GyHfFmrOeqp+Uf/+mnTrPvUmwP7UNaRvYFBVjMW I7wK6uk1x++3P+99G/6ZHKThJqtmga1VJvOwGp5XZJxwHYCQZb/h0UQSPUpU5pUVcraq rQHBayJuW5boc1bhKQaSg/JpZc5eBpH1ylB+55gQbmexAdQ6ArdvQeBQXotXRynD89H8 TFKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339662; x=1716944462; 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=xNYd9WLAMtXto9r5wZywfmnRKL4Xp7DbTMTwTIIZc1U=; b=Wd3bBCtaWvv6OLr37Q0kbSIoikNQv+64m7Wa1vhNf3gc+7RgdhMeODRsxhyYIHzIjy LewpKZAXONwaSzEZDDp8r8IbdUrNP5d0fmwlkWQInLl5Fd9/uOZqgoD94TixWdTaX2ZK Rl4kvt09Qgqbq/H7+eog3Qd6fKAJTXm1uEcygQ7uP2T+hS6Fst7HO8NHcJn5jgL3iugP ni9riHFvRWlqdYg3I7opWOsASbDJ7woennzIK1vBZ52OwQZK5OYIbLKxAuJKidDtuQnh kWQ8MOBM3sFE92laVORgyMLvPnliqX64NwMV4VCgEzkRhx0zzH4McLr+upLsuAVZo+b/ ucbQ== X-Gm-Message-State: AOJu0Yw4Sv4oPNG1dJppvhehTACusJrJSLvbeHP/rU9o3CNVdPJUT+kC xpI5BQi5D2SpHsprjIwySThbqh9rNDM/ikXRogwol5PpKy9/rC8S9zJbSWGetkXBZJmXp1O7fhv Ipg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:db4f:0:b0:627:dd6a:134 with SMTP id 00721157ae682-627e46f6335mr1764617b3.3.1716339661939; Tue, 21 May 2024 18:01:01 -0700 (PDT) Date: Wed, 22 May 2024 00:57:18 +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-33-edliaw@google.com> Subject: [PATCH v5 32/68] selftests/mount: 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 Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/mount/nosymfollow-test.c | 1 - tools/testing/selftests/mount/unprivileged-remount-test.c | 1 - 2 files changed, 2 deletions(-) diff --git a/tools/testing/selftests/mount/nosymfollow-test.c b/tools/testing/selftests/mount/nosymfollow-test.c index 650d6d80a1d2..285453750ffc 100644 --- a/tools/testing/selftests/mount/nosymfollow-test.c +++ b/tools/testing/selftests/mount/nosymfollow-test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/mount/unprivileged-remount-test.c b/tools/testing/selftests/mount/unprivileged-remount-test.c index d2917054fe3a..daffcf5c2f6d 100644 --- a/tools/testing/selftests/mount/unprivileged-remount-test.c +++ b/tools/testing/selftests/mount/unprivileged-remount-test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include -- 2.45.1.288.g0e0cd299f1-goog