Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp83079lqo; Thu, 9 May 2024 13:21:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW25VR6KhqiDKTtui4BEfR4EIclBEXRSmqqvMbfG6j3n3jiJ0oOK/EDH4Du9Z/csxwD2X7bmPHqqTXlChiq0ZWUJ1d6ITL2lVRY/xiWRQ== X-Google-Smtp-Source: AGHT+IE9YJEnUQfw6dm4tQHeGafVviz2pqF1TXSggWjvX1B5AstPEH5y/prOTaniKtFxG2GT/zZJ X-Received: by 2002:a17:906:c8c3:b0:a59:a866:15a9 with SMTP id a640c23a62f3a-a5a118c4bcdmr250586966b.35.1715286068297; Thu, 09 May 2024 13:21:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286068; cv=pass; d=google.com; s=arc-20160816; b=PgLntveQ+x/5n/e99dsk8joLNFaHqY5ZhuUZZc4VRnB9YekBTROOIRTFbcDgsvpIXI cMOLDBu9r+Fmgcl+47wjsLfyzCoo9oKIVdfPEFzA8bHn3My5W5i91BMonYmwHRTlk6M6 kbc+RWA8MewgAHjYgJrfWvIujtwry73aMzhwjAj9ptLWGsp0H4hALXdZhWATxHwJXMCh 1fQ4iqL9A114F3yC5iTwpocRWDL5Cr2xHFmZVkdMRnAUBL8lRZheJ8H3RnkYAuQmbbKx adH7El2FEqWsTx084m78BE+SavMzrduOHzdtwrHzVEGU4ZOyHrA+QxU12UK4zHl6hZXs c+CQ== 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=wKdjVpsD7cc6ntiVj0izi2eF4LCU2xu7dOzrXEQPELk=; fh=I8v/LepoJoSaZLiLlu5+QT34X5kQKnr8VZEuqNoCvq8=; b=cbLXET7U0XGam/E8fnsDt6tf4opxXQmewydXWuQ7V+z7wZtPiOFBu85b4CPr0zOEoj EVhBKFixtcCq9rowepN6qjET7cWwMw6QSGM+U40jcj1GjCr0h3UpKar05j7pT8HEcNvb Hag5OoDirgm44PgmHImL8tcslQTNN/6/bPsMMiSikYfm6MLWvahv+Z45dd0+Jl9szaq4 bEoiZNTobcJ4d4TRiUb6aAw1G5/nAaiT2PUKWvGzpHscPfItUv+3fBJHy9fmKK7/iBET 4fWu7Kga/XFx2DMi4zvqomhdE0je/ArW85k4PtV/cpRtIbX3HlT+mjdLCh1OxohqPMnr Ro7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="ObOw/Du5"; 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-174900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733beac952si1083897a12.94.2024.05.09.13.21.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="ObOw/Du5"; 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-174900-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174900-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A82601F242D6 for ; Thu, 9 May 2024 20:20:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 370711448E5; Thu, 9 May 2024 20:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ObOw/Du5" Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.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 17B23144303 for ; Thu, 9 May 2024 20:03:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285005; cv=none; b=ZQ6qfOb6MjcDwD7eYXV7JBDNVxDoCIOOstZIvCz+8Pnbzyzxjl1BlBMBJErEXHXooRINpb0/AOj2uunVHLsIZMEDjwaP99ZQIdtisn4HUh0phNZuA4ZimgPmhvMt3XgBoZbXTfTWM+s4p3oQ9JYGskb3FrnAV5NpSOjNvRqjnOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285005; c=relaxed/simple; bh=FyDpjnuFxTe5yKtqyFZz53n3xSPE47XRG3FQlA/e46M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ILj/AmZaiSotiXpTZpK9fbZevhfD9JHE5xlbmn8F3UNsLUroNsvBzt6HX593sAmd3OwgDCHdQX/IBqMutO48owtroIo0CGckN88oBK8jzZxaQkNW3KgYRb/wIgiO3MUopWoXJ+o8pCw6XEcdfyJb/f/IIdeewbSaMoEglMlhIfI= 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=ObOw/Du5; arc=none smtp.client-ip=209.85.210.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-pf1-f201.google.com with SMTP id d2e1a72fcca58-6f474d5a8dfso889243b3a.2 for ; Thu, 09 May 2024 13:03:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285003; x=1715889803; 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=wKdjVpsD7cc6ntiVj0izi2eF4LCU2xu7dOzrXEQPELk=; b=ObOw/Du5nGGUKYz0NRjNu/35ckEHu8mqE5BhbKkykRxv4tzof9RlR3NUN/5hjSllSN F6h3DJyEKewVStpSw9JbaYKL+OJsv/wlikKz+3cI1cft0Ucr1w9M3TLi4yBQPQdAmCgM 7+P/nLv+vA8V3iALDLgiL7Ie7O0dZq89kAfcnBa3kBBX486XsBEs37d67HPYc4UgTV8K udhY1Wx9/opy8vBtI+fKsiPO7OWdbLlXcrQgcSwvF8unAyk2VP7XeGIuuIeM4gndDEDx GS4urf8VgJ5owLtniY1exk0W+hVlP62GYchP6HIby61yNxs4bfwmV6qxSriMDajwmCcB kl5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285003; x=1715889803; 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=wKdjVpsD7cc6ntiVj0izi2eF4LCU2xu7dOzrXEQPELk=; b=NhpNvQR4HCXZBeH10P8vH+otIbpcpnHXoCwY5Pm+LRVgKsSmWn1bDwOmMJjmNyzL4l kvjlptP+t0hfd4XAZoIb1Zf2bYmD98wjE/ABJ0NivMps42wQys7VjC7uePN4tKquY2HO a2iqlXfMgLjI8i1EHmECVdWPEkjlGCtO/YGVpQSHsdvzs65NJJ8yyshpnNpuxnCNcQLp 7cINynZOyc8E6ZFbXVwd29ZJOQAbBFOmaAhpJrRWLTxQ8A3raVz1GSaYINJzhswg+A/m kbVR1MfU7XbEcbx19/lGIygzLVkIZaB6/2p3dgQG84qB9Vc2ApjaT6yQ77lZJ4/s7szz Uh8Q== X-Gm-Message-State: AOJu0Yy5Muuorn/2+u3RGp6nMZYgqcorHqIdc08XNNQV4R4vgWfo0WdW WGGtlZnQfF8kxyHfh26RpxbH1WslVjaQsgLcAGk7bZk28qN5qJDlOHSC2rwW4pWhGYOlbSpmX7U hag== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:a17:b0:6ec:ceb4:d9e2 with SMTP id d2e1a72fcca58-6f4e01b9126mr37232b3a.0.1715285003556; Thu, 09 May 2024 13:03:23 -0700 (PDT) Date: Thu, 9 May 2024 19:58:45 +0000 In-Reply-To: <20240509200022.253089-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: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-54-edliaw@google.com> Subject: [PATCH v3 53/68] selftests/rlimits: 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 , Edward Liaw , Muhammad Usama Anjum , Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, 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. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") Signed-off-by: Edward Liaw --- tools/testing/selftests/rlimits/rlimits-per-userns.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/rlimits/rlimits-per-userns.c b/tools/testing/selftests/rlimits/rlimits-per-userns.c index 26dc949e93ea..e0b4f2af9cee 100644 --- a/tools/testing/selftests/rlimits/rlimits-per-userns.c +++ b/tools/testing/selftests/rlimits/rlimits-per-userns.c @@ -2,7 +2,6 @@ /* * Author: Alexey Gladkov */ -#define _GNU_SOURCE #include #include #include -- 2.45.0.118.g7fe29c98d7-goog