From patchwork Wed May 22 00:57:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13669945 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 85002152796 for ; Wed, 22 May 2024 01:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339692; cv=none; b=CthEmiU7Ug7s00kYXUGDhIFyOimRgKDwu7pXNiVRU/PpivYp/eTP1AuLaTw8tgBNAYtrQjwhJfH9/dwZWCvEzR8SpJ3enPNCnDpQoHLrgqVQvNG/JLy6IRFjRyX/1MPNFFMZv4gleopIa2BqR+rpHUmOA8RybNv/kYOwoL5UB0s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339692; c=relaxed/simple; bh=fc5ZN12L8t4dHv2f+/to/VuuP376ryg7cLyfhK3bSMw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=jYpARe8vQ4q8UTp8yYAj3wiwJEySS8cgrF5hoiAA0SW17HK6WJg55Fw7tKwjF96bB8QJ6fpNTNrpVjgWLW6/0fw2O4iE/Jil+8tlgTcyFFOby6yQ2tYTsWzjb8OVXQp3+qGAM3uifqgb6lW7rylmat5Z1sXTrMsyZ0CDD9/wORs= 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.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="saqV4sGy" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-65e8e404479so4915284a12.2 for ; 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=SVHP31U3JidP5IHE8Domg1yJQZdJ97A2lmfwxD2BE90ZlCFJPvY5fdkHWbduNRH1Zp wt2y4/NExCfpkEkMqzxGRwfbumQ5bQfm4OENeMD5nBglc3lwg3xv6R69hQ6aFtjD25V0 joYp19Ec6RIba2RvqiJDvWpXc3u0JPl9ZHDbfc1zMYpL5EbTXm8mnx2SmGiwaqKha98h HwVDHQ1zYSP2GcrhRNqbCY5ZHDwSJaH0voEqUk5dfF27nYdaTvX/PI9/L+Lt6emdq68d oY+Wxw6MImjSWezCdgXShRz1EPT049hOiMPKnxxmLxRMmHx7bbZkfXcZu7TA0c8rGUTn 2zpw== X-Forwarded-Encrypted: i=1; AJvYcCV7lzgGokSHw3CEGLxUURm84AA2+gO/PnfvukLRnmORk+QxuJ4sHS7ajfjLBmGEsXE8toQ5dachNplXayAoJy1PHXkf X-Gm-Message-State: AOJu0YySasoTV7t98gseIzPGGtqKtzex8DTlOz12qG24yV6ZI7sMz1Dd EA3GZPqzz9bXv7xWYqtIhkUqu/OPFrS72e0lpCpJQRn9QyOEK7I/MvmeCnFzoDzsTMy253ZfuTu eKg== 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: bpf@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-42-edliaw@google.com> Subject: [PATCH v5 41/68] selftests/pid_namespace: 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, John Hubbard , Muhammad Usama Anjum _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Reviewed-by: John Hubbard Reviewed-by: Muhammad Usama Anjum Signed-off-by: Edward Liaw --- tools/testing/selftests/pid_namespace/regression_enomem.c | 1 - 1 file changed, 1 deletion(-) 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 #include #include