Message ID | 20240522005913.3540131-12-edliaw@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.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 4772A74BEC for <linux-kselftest@vger.kernel.org>; Wed, 22 May 2024 01:00:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339607; cv=none; b=fGF9ZY6CuZO9q0g+x183hjrWhhsG1/jHLPK+TiCIIF8v3NFmdqdFjhts7QyNeE1PSpMzfCY0XPE5qxe8w0nU9s8VEuprUIX63rJM06YGWQocn/2kzvhatunlD1kZ63hXfOmemeDnPtaxDffzgzx01r4l2GVd27/NRU8Rskb7an0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339607; c=relaxed/simple; bh=Dzdcnsg6q93Dx/VQ4J5vnEEbAA9pDEU+SlfSfSnZ0a8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=MSKEr+ahZabQvdfL871n8nX0xO572RVUX/2/blIBym63ZG14uDYJsxkmJg4n0xopijT4T3OydlOqIwFwngmZcXiV03zC3WNlq47WsGnL3Z1dTFmUNb5x/KPs+cTu9r/XSimwwyv+WYY+msku+CLxrzVeqVku7Y6+PLhSPd7d3EM= 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=rKmZZGPJ; arc=none smtp.client-ip=209.85.128.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="rKmZZGPJ" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61bed763956so247360547b3.3 for <linux-kselftest@vger.kernel.org>; Tue, 21 May 2024 18:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339605; x=1716944405; 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=0lmQNJORVSfCUFFoUd1ViMTpUw9e5KrZZN0Cex2QGeo=; b=rKmZZGPJmgiDLzhdg8t5T/uJw7g0/Y1rQqAWxzN76pdtBHfHCfkgA5flqk86htTc9C oi1/o6AUzs47YiQjAGwVRWcdxMsmaW7OQ4U9NLcKgPHTXNDB4kCkNX4jTSOIMgxVekkE miG0Ju90JFXXxYMdyFth6j7m/pjgzE8bw4i3ssxyF/8dlvz5yXD296Rp8UxuXvoEJYGO MeGz1tsaeKdryzFl0HE5r7oUH/HFKEG/Ok1l5zH1fsRjiDtF4noZySZLjQAQat2+BNJc veX0u0foh0+j0hiWEdXvPeD47o6ipchfTjlV14YSd+7+PAtfJiSBCv+Qf3ONGwFrn4Ty c6fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339605; x=1716944405; 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=0lmQNJORVSfCUFFoUd1ViMTpUw9e5KrZZN0Cex2QGeo=; b=wsSMUm72RwC6mxplFExFctc+sM8okkITFfui/nfMMVb0agLlNzCWUfeuQ3JqojyG7T /niJYuuVQP9Cq1KTUOaMvxTyYbvo767qyVaOdroQCR9tBz8lhh9S1qysdhcE9UjbGFSQ jFo3/VLWoReDWsm1GV9u67htIbqjNYAU1sn2zNLsur1Mo3AXHL3wWcwRigMz772BzPry DQ7vyD4mKwMPI0/DxYkwACwLkPQv+Zl7UExP90UCnmQsIidhoLysesTCvoMlDWhA1Yr/ RDCb+vjQwm16wXFpfzyB18LNpRrLaYRwueDGOIbvj/8xV3jqCZTELdQVeA0aCFO7YdVT wNXw== X-Forwarded-Encrypted: i=1; AJvYcCWOFZipoju8FwAGapYky/rSM45/TKKdyRBueL+HgxwQ74KDos3DTI6AracJ+/b6GWhvqeYGPNxFW1gE0G6c+Mof4Hzr+uelMlM7VvBm4zN2 X-Gm-Message-State: AOJu0Yw4ucKpkUIrhM/FrhKMJmE8aDqj8KcKzposzr9B/mT+iP7Vk2bR J5SeiADMD1Db9/hyXIWKFABJ6T5/rAow4cUxuSmzn9t4UhtfTN12DJKM5YT5rYjXI7TuY+hCgoq slA== X-Google-Smtp-Source: AGHT+IFHbotlZv7fBN3ho5Rqkkq34fEhQTmj5VOO1FIjb4w3cqdjQsyZMPao6gSz2IdVEby5LAMyjSIG9hg= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a0d:e609:0:b0:627:d549:c40b with SMTP id 00721157ae682-627e4848affmr1773967b3.5.1716339605428; Tue, 21 May 2024 18:00:05 -0700 (PDT) Date: Wed, 22 May 2024 00:56:57 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: <linux-kselftest.vger.kernel.org> List-Subscribe: <mailto:linux-kselftest+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kselftest+unsubscribe@vger.kernel.org> 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-12-edliaw@google.com> Subject: [PATCH v5 11/68] selftests/core: Drop define _GNU_SOURCE From: Edward Liaw <edliaw@google.com> To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " <mic@digikod.net>, " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " <gnoack@google.com>, Christian Brauner <brauner@kernel.org>, Richard Cochran <richardcochran@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw <edliaw@google.com>, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard <jhubbard@nvidia.com>, Muhammad Usama Anjum <usama.anjum@collabora.com> Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
diff --git a/tools/testing/selftests/core/close_range_test.c b/tools/testing/selftests/core/close_range_test.c index 991c473e3859..05781c7fc578 100644 --- a/tools/testing/selftests/core/close_range_test.c +++ b/tools/testing/selftests/core/close_range_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 - -#define _GNU_SOURCE #include <errno.h> #include <fcntl.h> #include <linux/kernel.h>