From patchwork Wed May 22 00:57:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 798294 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 8AD7415666B for ; Wed, 22 May 2024 01:02:02 +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=1716339723; cv=none; b=jPLJfYMXheFx+akDplQ0sm8oFKqViVf1HdsSwj8A3nvgaEX2bosAMDsu226G0d8yMG67tuoSDyjPcF3lVKAPMJw4/bwCDtvh7xJvf02uQPxoi0Al7HWMNqcFEnvZanirtVMqjGdpui7B4gbZdPOQXURf1VcfQ/gvZO/3oLeSpmQ= 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.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="F99wygNJ" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-6f6c27f142fso1456230b3a.2 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=ROz8c2QjX/7/bKhqhdUFXsEDIctLKlGll6vQq6rXl4Zue+/JT5lBAKKA4k9Eerj/C2 6/SrNuUPP4CCuy27t59SPPBpaTguTX4SMiQP6QWhpPrGua1/Um7BFMVA9OfcGA9Xt+u/ B3/waWjlZqsXdRSzsnEN3LKiDRw40ND3rjr0+Wl6elh2K1ghUG8IvKZgjBOIi9+vVZTb QOZVIsdLtaSAElpnQhI0WfE7NjGfYJaWxG1rrbiSUz37hQfkYnxdjs4nMKteOkLETld/ +Llm/L6lAr7b2MrcDsMo8NEggTDIsj9NndxVN3mE1MZ2ROd0QvhN43zQ7SaLZv1H+rog g3bQ== X-Forwarded-Encrypted: i=1; AJvYcCVlwT2wBdVlFqIgbrr4XPNj3OTQyeFHHQ+Jp8bqtmqToT1SWXj2kpRLpvGUM5IqZKEO8/CbdUJpvvcLyUaiLzCCBS/n7ejXbb/42Tdv+CxO X-Gm-Message-State: AOJu0Yw+HWbr5eerY6FhGBCITVedehNYvQpHbD5LFY4dASA87B5JYqBq wKEp5c9a8YmXyv4QvW52tEVKS7xmHWbgowe/LINoVMDIEThVVpvIVUI+oKQlLae25bTOR04i5ei IZg== X-Google-Smtp-Source: AGHT+IG4H8QACvR6bgMlwjQZlJORskEQiHsnadZ28t0SHRUcGChmPWb+2uVYxv2B/0aMSfdVlBWp3ChsGV0= 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-kselftest@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_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 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 _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