From patchwork Thu May 9 19:58:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660222 Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.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 147BF143C5C for ; Thu, 9 May 2024 20:03:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285006; cv=none; b=FOXQJLfbO3nzcEyAVYYe3pJYGkbBJyoEh9HLwEnWBB433UugJBYmamIAWRBQJ8ufRys+rkEJagEq3XovjJuFMvPKYVE82u+IQNYRM3qdND+qumJ/ugSxEatWsRz2j4C82ijRtkCMO6UEldInYhCOkEZ1oOFJ7CjU1qVLAiAKYxI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285006; c=relaxed/simple; bh=FyDpjnuFxTe5yKtqyFZz53n3xSPE47XRG3FQlA/e46M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=tchyFxETRTHsq0DqfhKgoja124noNxDOLwtY/wWWI/9Vsv+tXnUTMn9hp/OjL2zQq7p35AcwRxhwemoPDRyf2Q+rGkBTL0wZ86JCxkzbjpE5DKKTloCqZCdl96sq83yG9ub0+NohgyruWoyLwLHaUjQJT/uPyT3xApBm4u1gdr8= 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.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="ObOw/Du5" Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-6f446a1ec59so1126850b3a.1 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=JRGD4tCfQ3+jIKmvr0xSIGpFsg742cGwH85G35LpWE0edmCjhh2JInqUmoX2ux+Jsh bbt05M3dpk6Soql7xRBNtuyATbpMT1dX3geXie66tfW+5kRu3/kEmcrUPlGoz8FU/Xtf X7j/+yeHKmfDy2o8Fhr1737YZcl3PnA3yxgyeZGkokMDynCpNp9DFjc9iUYyXawQ0AIW TN7K/uZF4zxEkrGPB0tiReThfPsEaMvppktD4N5Eoe1GKSPu7UBjM80azDeA0mMVLF2R nek7CHY3piDJzGBo21TQevwpQHe86Ayk3736Ts8O2z7Noj+tIeTfUfdbgy7K4Fvdoq3f jdyA== X-Forwarded-Encrypted: i=1; AJvYcCX4Zt8V0NlH8RkWzjcSHWXBZw8BuTDUxxbkHtPEEXPVCIaU7M9HXc6Sb8Ueku2bnkeAID4SK/ETZbxW0QDmtKxA95y5 X-Gm-Message-State: AOJu0YxftF2U5NbtX2/RJXuktVJNIOPCjznTo7d/wHf/ayau3742g9h8 VwDerfLAUmKT5y0pa7UWHZgMedjS9eg+mZfnTWumSMWESV0wnqP3kJMKLBJ3E9LgrFJakJYZCsU NeA== X-Google-Smtp-Source: AGHT+IG24YrGgs9oGH55TwJXLYWUSPdxI7zBXzG/ZOnaBwcLAwEEtD/PozwH2fkQi/h91ia9Pf639lhh6mI= 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: bpf@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_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 , 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 _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