From patchwork Fri May 10 00:06:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660541 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 8DFE2139D01 for ; Fri, 10 May 2024 00:11:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299866; cv=none; b=qswoS1bwASgvHAPWRKGGeipwFNZnV6x8d/Kl+U6/QQkBostXwP1wF1NfAju8EA7yVwbewSXzZEpgXOMF3KVvQQJXXpq7N8G5gEiLLrpVpXertZYzgz/A68xffeb0gte69HAtabhJ0x/ANmR0tT6qg+lYWQikjf0xFdNTqwNEzPA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299866; c=relaxed/simple; bh=F2h5TqE2gznk34Xcds+2kdj8K23iiPRCWyz0VnUXgXA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=lFWCHDL2n9zrW+LVY7dOp9XdaJeHKzXyh9tk8gbwxTn/BVWenh9GQohewKTsntFcbY6HEI7J36WmFpzVV7e0vQ7Ys2Hjn9umjIwiCqqj9egVUb5NKDapLlkf0cwaMY6fNz0wMm9kVHo2rWdGOHcljHEctWfUoNw24SfaCfWJhI0= 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=OdR5AmzK; arc=none smtp.client-ip=209.85.214.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="OdR5AmzK" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1ee2f06e652so14314405ad.1 for ; Thu, 09 May 2024 17:11:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299863; x=1715904663; 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=bwoIN6qkNAvdiVIWhe30F/ZM8apUP9a8ewoMWfm8QMg=; b=OdR5AmzKxDF2VeWbz84SkamMt5Xs46lx2Y+AmngwiqfwOjgv+WLgjQo0LVMdSM3ztE sZ6rBe6/JLjrfh875Ucpx8QPWEOSO7BtUofcmxN49SBSXjBy6bKXCghqQU66IXGh9F5q DTfUg69t1wwHXSgZuIP+TDjiyrLPQOhQjcYfFLCx36y7dY7AVwBhgKRsQw9jNf7Wlcuc 9McSjxKbVX/ljwEcbXrx2gH2l69tLpvqSROHhl95GSvqhspSvZjlx6okqUopw3n6gTB/ 8XMqW9eFaU5x1sSoCJpCKu9xRfKr+QiedTj8bJ27fNpj3wMqW6h1VbYN3NBcXw0SA6u9 FsMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299863; x=1715904663; 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=bwoIN6qkNAvdiVIWhe30F/ZM8apUP9a8ewoMWfm8QMg=; b=wsEEy7b+TKmlNX7FNADaM7n8llBJhso+mQAlRmwgnTipaQOCK0MI0SuoOSl8LmRw79 djcAE28ZdzuU61VmATLApdSAyv7SE80b9WZuAxjL/r34OYU/m5CVQe6H5e749haLTc1j m4Ydvo2hBbYjGz5qB2wPVzDROQh+ruSMPcjoeFD7ANr5oU1MucfEhVESscDI3g3HqucN lS0THfrEugpQAxIGv5Px0zvk3jsuaujA/HG977aqVEPbITlsx8UFxWiPYbJCb9FviKqF hYXwFWwMB8uJ19nFoeyWr2xiyQsZy4IDPgIhHKgUGcUZ7BMoAGVuDSXeg0CyR6g9wtEG K3qg== X-Forwarded-Encrypted: i=1; AJvYcCVv5fKqXNWkx2k7xuUypYUqFXuhilKzxfsEMZk/yTuW8PLK0PUol53Z5/JFvyDDf/LCzFHsULg11n+YRZPDUebIYgIrQ7uhDx9w6/FELPsF X-Gm-Message-State: AOJu0YwYC3CyEVAoljAfvIQOla/5uSkOGZ3Xt3OzbtBqxdsqxlAQ/wVB 9MlLDNpNCq3/UfE2u1c1YkFd9yp80zmQq2sMOwSDnnl9TcNsJGwOXR2cffZkaNJFOa0yTpFaybn s1A== X-Google-Smtp-Source: AGHT+IEbRaO3Ij2eSHkGXoI8SykX5P3OggNnx2FkEhJM98+CkdTeaw/WmnIfTcZIrruC+KD5ZR5dK9HYN54= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:e549:b0:1e5:e676:4b0d with SMTP id d9443c01a7336-1ef43f4b57cmr31935ad.9.1715299862877; Thu, 09 May 2024 17:11:02 -0700 (PDT) Date: Fri, 10 May 2024 00:06:58 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-42-edliaw@google.com> Subject: [PATCH v4 41/66] 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