Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp186927lqo; Thu, 9 May 2024 17:28:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2oGnRxP4huqnmem0oEDsOTT/c8iKDG6eBcdMMssh6RKg3NcWDjnJmYU7UaU+HA21vYWkauQNQ+ejfP/Nvm+AabDWAJFUR56a8Heg0Bw== X-Google-Smtp-Source: AGHT+IFviy5D10EuMnQPdttW/0x5KSbTIhvjyvTnr9bzNqqPoJ0xfZ9VgH8kSKpRObFpnYVq4AGi X-Received: by 2002:a05:6a20:430c:b0:1af:9ec6:afb8 with SMTP id adf61e73a8af0-1afde0b0d99mr1727581637.23.1715300886987; Thu, 09 May 2024 17:28:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715300886; cv=pass; d=google.com; s=arc-20160816; b=B+1uqrMYI/Y2w+J1Iuz2bUPcooWrJe0TH3fOl4lv39F1ap0xOqxurSHd2dJN1PGff7 jwcOaPnXWODLpTo1MWHBD1Z7w9fR8pi0eKXaXJFglbAPLgUNtkGKTq/vzhORwrRS9M44 EzZUD43HSopC4xpqNgZj2Fe7WrNnItEPVymd50052wqLVxwhoxRzIGxR4DwvgFCmbakK ifp8b8NAkfHyuJmQPbDQzHlo1VlxzAReWfibPMX6fp1tZa/a80bOBTLhZaxHHXu1YcD7 znSXa6qpM5u1WiRLWP7pWFYMEvMMqTlsYSyDp/3fstn5XLIYKbKTge8G8QNRyaoPIBlv Lygg== 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=YRD5r/wA6LFuHwfkjrFKP2eh4q2idhPkvQWQq1X7Wzo=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=cGwKFiv+AxL69wk+wCkTzPwDnxFTocyrWt1BkeiVtEBDOlkHLrnOQ6KRfmesPdrZza C3mfdOSu0V48mzBgMBi9FR/GY24dP1Bz5ysXcAa18WG5jZYlp1nq6TC5WaciSGWoOGK8 SYnJsm9UTZlZvS+V5NBTSuzPIwIM17O+Zw8unoV6y8FjVNmhZ4IP4kxu/xMwVvuZ1Inm 7E2fSgIT/zuKwNNQDn4Q3MOQKBt277U6SvRmn6L33m/XW4J2tlWjpmVc6uoJw3pXl4TD xOGtRDdJLPrsXU7cLhH9P7uNaU17NCVOpbOM37Q8g3QhHqCEJzhxluBLg4AG2020bDuA SSsA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vAdy8RqK; 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-175127-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175127-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 98e67ed59e1d1-2b628ea7a90si4546549a91.125.2024.05.09.17.28.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:28:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175127-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=vAdy8RqK; 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-175127-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175127-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 B3CCBB22913 for ; Fri, 10 May 2024 00:21:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 756031339AB; Fri, 10 May 2024 00:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="vAdy8RqK" Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 436A513340E for ; Fri, 10 May 2024 00:10:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299834; cv=none; b=K2HhpAKWKsbx6nl4uMYTs1/a19Xef4ZMvD0xF4Zr+Nd6hgBHdPDpRcQhS85rbn4xEWvx7BjBkxUxsnMQmBLpQrDcLw1n0x5xqZ6X0s4uugl5+1Lz4STQkA9yN8gHbkOHWk7JOlFLuqZds6pj661az2G2ocOeG1zoewDxINf9p54= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299834; c=relaxed/simple; bh=CgsUAoxPLiPX8UXSGEfYBMmnWIxR3wtc1giA2eIVBK4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=QRrMgZwSl/EJIjFVXcYSZvw9zlRuz6/jfpZ6rub4EQqjDrvcnInPB2ztcuwqxk4dZngP8cElEVN3HSTnXOKXzOSFCttxaGgxcii11zMqoS8b21FUDEwHrLyQQu5vsO24Xl6HImtwuRP4YtPbG0QS3iCPXttogKYRtf4DOQLHuJc= 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=vAdy8RqK; arc=none smtp.client-ip=209.85.214.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-pl1-f201.google.com with SMTP id d9443c01a7336-1ece562f2afso18395695ad.1 for ; Thu, 09 May 2024 17:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299832; x=1715904632; 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=YRD5r/wA6LFuHwfkjrFKP2eh4q2idhPkvQWQq1X7Wzo=; b=vAdy8RqKtA8cXge89/O9eEvRkV7lAN2DSHC+Ovo7RIJu7TqcajV4Ph8hYrALLfi0U3 FolfHCtqg3ynsgB1EY59zlZIkKjYTrJS8MDH1n8fze3VLhACdXvUWhHrZIQkoFAd3Eic jxgl3Wq/CKMY4WdZBmcMpPqP++26e9g2d3BBbRVgmEmKtiBQBcfV0ivRVi2jcW0HvHAw Hqah7fKoJqPuSQbvuz6i3F/nlMB2id58nBMb86URfK9N1MTwAt7q5lYPcnN+Qe2DEmsj 37ZPFKL1JZHnpSAgf+alogSdg2+LMu4gfGPgaD6aKRQjq1OBLZl3adiH0Z8AD5vFKMQr fZ+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299832; x=1715904632; 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=YRD5r/wA6LFuHwfkjrFKP2eh4q2idhPkvQWQq1X7Wzo=; b=b9EB6O34UD1ERzEyEHbkX5ugT/CDCy8eSCQbWh85eJ44EdDH+oOFJNLpy3hyUuzR4X H36xe2WmEcMl3aLgWMS7fSE/LOmU+hwKx7JmoPB15IWMPxZkHEhfi1vOP6Ft2Ek87SfV y+rys5vF66Xytuq+uEa0f2nSB+OJ+20YENhSly34Gyt3otMkZYoSKZbzr4XNmZt7K2yq E+Uvr6L1bJZ87bI/+R+a+LcN6YuDoLz71NpfGe6xdrtsxOkjKkhPoB11oJUK8IlssG0o 4PVMCmlI7ix1m4q8ROP8poxT1qJmL+meddNfa/yLSE5vaiMebUZIs06XgTkZncndH9ew jvAA== X-Gm-Message-State: AOJu0YwUVHd4Rhphpaz++4OJNIogk9kb+Ki1g8wwkfPTkKLEQyLK9f4J ms1lI9MhvaS1BBpMSY82oy6bxasbSEr02hodcGoveYrO7M1Pw8KInSO+PE7KVnXuBqrkMImIupT dIQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:854b:b0:1eb:f1fd:d481 with SMTP id d9443c01a7336-1eefa9e32dfmr121525ad.4.1715299832494; Thu, 09 May 2024 17:10:32 -0700 (PDT) Date: Fri, 10 May 2024 00:06:48 +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-32-edliaw@google.com> Subject: [PATCH v4 31/66] 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.0.118.g7fe29c98d7-goog