Message ID | 20240522005913.3540131-42-edliaw@google.com |
---|---|
State | New |
Headers | show
Received: from mail-pg1-f202.google.com (mail-pg1-f202.google.com [209.85.215.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 A73A815279B for <linux-kselftest@vger.kernel.org>; Wed, 22 May 2024 01:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339693; cv=none; b=stWoHwDK/y3wSIFUqG4dJeMCM0Lb2hj1J+rCkgz1aGz3NGn51jk8ACqI/9SrRnHAD9LnowZt1WV2OxIUmlkBJfahXWhC1bKO1BE9dVDhrJNhm/7qwy4C3uGD5jQByYl8QJhW7doEGpQeaYter/HB9X1EYCETReWVvDrpV2yukkc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339693; c=relaxed/simple; bh=fc5ZN12L8t4dHv2f+/to/VuuP376ryg7cLyfhK3bSMw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=euN1Jim4DImR2i996BD4FVNxyltMB3iyi6cXiP4DZMoImLy3wVWbzQYclwBzaDinY5u9d9B/c2ps+iVnTXaJB7y7Dq8okNNGSghjp7IgYaJa+pz6IiXvRD70O/rGFAcihVpL1JynIjwO/2AuvsjkeGGmZN3SRLUwQcEPA18k4rA= 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=saqV4sGy; arc=none smtp.client-ip=209.85.215.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="saqV4sGy" Received: by mail-pg1-f202.google.com with SMTP id 41be03b00d2f7-65e8e404479so4915283a12.2 for <linux-kselftest@vger.kernel.org>; Tue, 21 May 2024 18:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339691; x=1716944491; 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=hKqcMH+cHcivjSlV0iWazZDih52rI3iEBn71iAK9Nco=; b=saqV4sGypCV8ublpIPHkIG39GZA4akHNhGTwMOOcDiOZe7VsIlzmtg2mm1ewUNoNuk JAmUxeIcEtO93j9bd89eddfUzpgBZ93uylk9lk9zC6kPb65L+egjsNwMMmIrfIPIaH2E 5XgBVoQwq9+KvLD+ykMHbOXoyq3bAnu/X+eG86AQ5Qf5hv1egS3jDwrTI+CGn+2m7EVn 5Me8ZBIZJ+HkXLrS2KXkzziPPqwxAJ4z2S5GMrJi/463/urNB5Fy9eEstouzY4EcT6An 9q0LB05OrReP9MobEelgEnnYjJVcQ7uczcYL0MCVzih9ya38p3Iu6NTYNNlHOFUxVimx tmfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339691; x=1716944491; 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=hKqcMH+cHcivjSlV0iWazZDih52rI3iEBn71iAK9Nco=; b=W85BehQ8r8IWeHykBdqHR+innWZdXcaMR8MgdFJPJUAiuDOF/PFzshIRB4IdTajZS6 O05e9v5OU3ONCcREuqEMOfsmkZ5aMhnnuEk7JjCdqB5y10Kz1+qjuLsdVVeNMaqCRvUw VmFzn3SkatHeJ6/IUw20itnEwCHaSNoNPSmEs9gVl2ZTtz9yVPBoPKiFbq0N56bCgknH 5Oqwq2+qXNm+HVmL36sawF1KTtMMHEVoY+HMMK5nloyTLHXOt5uxUYGKBWbWcnT7oXvV 2JsifOqOVvGLzY3uWKpdGxfwY0Jn5PwRLbgdUSXOsXY5nKiZ2h6977LXmiUYOwGhon5V a+Mg== X-Forwarded-Encrypted: i=1; AJvYcCXy+4cylRQNhdtJFCZjUTarleCdxydW8Zm3OoWGhDPQQVCKtaCULCMefNZ4xhsEFrMj0/jTuwcot6MCVpdC2int/3ESa50AdD6qJjXNvazO X-Gm-Message-State: AOJu0YzW+eAptwz6cvDY77HKVv2B85ddFcBJ1t0Uc2ilGjeidmzbXWuG lJF13Wl6AMC3my8rh+4UK65TpOOyil3rTlf4d2tBwTea1vjkNKDKBfz8vBD4OAWYCeLTu5EXTee wYw== X-Google-Smtp-Source: AGHT+IHEdlPEV5C7CUmVhgzYSyvdP68FXeZPwJi2pFA4aRhZIMBKvPNDfPXTnCO1F52hvMs38tuZRBZ9qyk= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:3715:0:b0:623:2c3c:ab09 with SMTP id 41be03b00d2f7-67640145dbemr1343a12.0.1716339690894; Tue, 21 May 2024 18:01:30 -0700 (PDT) Date: Wed, 22 May 2024 00:57:27 +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-42-edliaw@google.com> Subject: [PATCH v5 41/68] selftests/pid_namespace: 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/pid_namespace/regression_enomem.c b/tools/testing/selftests/pid_namespace/regression_enomem.c index 7d84097ad45c..54dc8f16d92a 100644 --- a/tools/testing/selftests/pid_namespace/regression_enomem.c +++ b/tools/testing/selftests/pid_namespace/regression_enomem.c @@ -1,4 +1,3 @@ -#define _GNU_SOURCE #include <assert.h> #include <errno.h> #include <fcntl.h>