Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp56094lqp; Tue, 21 May 2024 18:20:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVVyKBCp4W8xzDIp+d2dQK1JkwZaoUxkq07GvsCFGbvvXNBJtqst3i9ZFFxByA2ckxhFV40wEWjcYwA0le2/YqHWGpE/tlECgccqiRphg== X-Google-Smtp-Source: AGHT+IFGw4nN8k8oU5ORDcKGgfy21Q0OjzdX4HNLSFVM7zyZKnpMizvYPqayZt5gGwpZci430YgF X-Received: by 2002:a50:cd8b:0:b0:572:3b15:a40 with SMTP id 4fb4d7f45d1cf-57832c42277mr198566a12.33.1716340822495; Tue, 21 May 2024 18:20:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340822; cv=pass; d=google.com; s=arc-20160816; b=XPPeenA60+tvy7Zx9i0jXqO63LWqYk36+K/Ap2CC43HNzYByKa+lxSTpQ38EyrBthb kHkktox+M9npszF3l6grvMISqMd/5RH0a5p7i+43Uhsx9NYwqkkUyeu3jxSkHT5Ow8Zy twsmYIrZEK2gRybxpsCjf4WgrIDPfuRhz6lcJ4/G0TsrOCOvHZw0I20WEykOKhqwFgIW zbzGWnjVcU6xkMquaZ+4J98YflDwakt16lxywoNj/0lJD4oCl9lpQnB6GghuSRwcaMMx sQmCol84a4RGVfy1/2PYPFGyXqdsPAnoI1W/zs8nqVZAppq+ugcwr2CF4DUUZuzZzRSx iH+Q== 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=dUmmygsAekCvb1sAxXTt/LLFhqw2XmquX3PYUBGtKuc=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=q9C22oqshXvEkispVYb1UoziGbDIQklN0dlS8vjv2S8pWgOwf83YsiyEjl66nztwS2 Z17/NMHAA1aKhvsS5bzj5c5sdx3pFu2ERuftnSKly1TsJY5uxeB/dI+4KTJGsBC2BaSx sFvKC6Y6gYb+/DE9skuzh5J3dhzVv86yzYrqcRwRzop2y7bJ1bP7AhRsavrkty/Yk4GV Qn1KInyrWr7T0UQ8FLsovkuhBCZU15kLtddyZQFDsTbcRpmyuLbIivnnqBzQsElDp35+ 9vzcgW+72mR/MhAxSaXyRojhWvg2qoXDWpTEmkNh3Ut7oMkXzxafNmph2CV4cH1znmnc ihYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=F99wygNJ; 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-185627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185627-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. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733beacd08si14655458a12.87.2024.05.21.18.20.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=F99wygNJ; 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-185627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185627-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 18EEF1F2A2EC for ; Wed, 22 May 2024 01:20:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA5E9156C4B; Wed, 22 May 2024 01:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="F99wygNJ" 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 91C0615666F for ; Wed, 22 May 2024 01:02:02 +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=1716339723; cv=none; b=X36r56Y2jpKb75+MY7SITUvaGpS74zRtFE103aP65X2WYkTvlNHzN+o9bi1ZtscpaFZuUWcWKruoh61fTDJ9EQfjSt2H+IqtGry5W7gn7hjzX6c2Pim9VieZnlpf68mIdAc7B5pJGAOUpjKhIcC8cYcnCxYOfMyogDZ1hqwBUzw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339723; c=relaxed/simple; bh=63kKOK9q7td0MhpcQUXeLupUPzT9Zvc/+i5hQx2aP5Q=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=TLhkoftx1mR5CwsdZQM8+Vljx9QNkUgMLSZN5OEqKxq4Dajw+anZtdgSx6NflCbmoWI8ocR5nST13oDRxZ/8LDmQHDRsIGFYlYSskdNkeX2RK3Q7NRHK7K71Ouh8+v4TePVx5pQ3zBWwQNBeCjz3WqdI/X8inPtgFJOs87r1w1Q= 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=F99wygNJ; 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 Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-6f697985f86so3218924b3a.1 for ; Tue, 21 May 2024 18:02:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339722; x=1716944522; 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=dUmmygsAekCvb1sAxXTt/LLFhqw2XmquX3PYUBGtKuc=; b=F99wygNJJgPP1z2gxhwQdyooccpIWRNehMq2mJtLbdgccOqIgSxkaXfGnZMoFttqgm siXZ7P7ICY+Rn13X/ZNVNx6pLeSkkzr1/po+lna6xr0S7T/e4rY77qVWiWucvt12+DEm FeDXnQw58V58c7uOE+IIqBta/8T7HV16IDq02lu9MN3MZpOCExDEP6tG4QkfKWQXIttO +AbIbvorkxfAdcIZzm1OPhwZD6ZhHNF8Yz3CteZGeXTMJteSWmfK8HtY7GikctroheRo i6+jzhdHbIETaw8QJl8iuRzkK9qYhp+e28PyxOptRopImQy/21KvC5rqEsRewPIRIPL2 x50Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339722; x=1716944522; 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=dUmmygsAekCvb1sAxXTt/LLFhqw2XmquX3PYUBGtKuc=; b=VXqocYB75zhl1SO+BAxUgf1ILM00Iddk5EETn2Jjqi243wQctE4stnktv+YUKFdlSb RKbyCTsUSZ5OHTuP+RvW4fa0MBENZXFRYoQWvXcVWO1LL6b4MX7mWtc/MWQNdKiOze9g SQntXKqwvXsVuiehCJZfpyHJ9pAX0EgfSSANfXdZN8fO6uRc3GV3ux0eMoox4q+1e6xK 8xmDvXd+dXbuENGCRE6mYwK1lPFeTZSa4olmkDs4eSGj4VkwO3jBLzSRVKoYu58FlHdQ BVGS8M1GpExvLKnLCFjzOTG7SuUf+T9wP3K6JG1ssVzm7FAE54DSjq/S+E8eeKV/U4Ho 1JCA== X-Gm-Message-State: AOJu0YzGH2EYTmRaUoMh0sKn6Gr228O/fcvB9exvRgp+Ciqlaukp6AHO +SxJWYM6YERYNmT0ldjWZ1Pcmjj85MNQqK+0mnXscZiJAVK2HfYtz/cZWYpBN0prkKM9OM/udbi flQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:ac2:b0:6ed:d215:9c30 with SMTP id d2e1a72fcca58-6f6d64c9235mr20041b3a.6.1716339721836; Tue, 21 May 2024 18:02:01 -0700 (PDT) Date: Wed, 22 May 2024 00:57:37 +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-52-edliaw@google.com> Subject: [PATCH v5 51/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 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/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.1.288.g0e0cd299f1-goog