Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp80891lqo; Thu, 9 May 2024 13:16:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3zbk2eqQYGJGiWHzKpREqfSaGyd78WEPMs+AiNc1TfG9X8F5LNwprdBhCZqVrZ5Lc2ZXgGWHXy93m8MYZ1yeX6u3sqtPbG4UgTYaFpw== X-Google-Smtp-Source: AGHT+IEansk242qIc9vMV/xxWzLPl+UHkTaeZCm3O4AiAMPzeHjItDEZkvXo/tYlRfmHPcyYUNFU X-Received: by 2002:a17:906:4714:b0:a59:b543:c9f9 with SMTP id a640c23a62f3a-a5a2d536d8cmr46587266b.7.1715285792180; Thu, 09 May 2024 13:16:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715285792; cv=pass; d=google.com; s=arc-20160816; b=xTHFJ8fAl+bM6m2jVJG26wbjHdDuJVmVEiV7UziaYUEbopDeCbzvzfhDMFoprBrG/E sBlQlAw/FK2fKy1faSufaMTNv7ZTDAzVUKiU0Wj/9IiXYZpZDLhJQ56ciO2Xvn+SbAum 0+S8C369X1yvhC6lcl/2a0qfNriQw8x+aR7Tgt0pvMPpFVdULsoDmpHECr/WxA84PYEc tNIufkRtVthespv4J4Uwy2Ckek9/qcp70/oWoXA2+QtiFSPRqu+E/9CXiONDGUQyo7LT nan8a4PTMVMpcilVeOrq41Uozqj5EfTueCDdP0bxWZFpSD9XiLQ7L5gqm926eNqkVPY6 8NwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=/4YtNx2ds/btNjRumtpOC1sPQ1T7EDCPNUgbL6GhZJk=; fh=hFvxfBIsQ+wCfKLzTm40NFScbBk4K51Ic+FcSLJ5yi4=; b=uJ124Vk/Q4/LlyP2Dz9le8Kd1dXBRt28un7nX9WEBqmcgrNxLxWbylKQfCDiJAU0UB z6JyyKr7WtAYfUxNU3bQEp8kbmDAnqvh+mYFwKIVKkAR+wmyQbv2XUpx+qkdF4o+HWoD 1V8XlpN2J0L+zHWUBlOjWSZUfjztIwLZ/sQsR4nmgZ0ZbgJws6NxflbnID69b+bOOHHS pqnd9YZfDu34/e65acUOis1GL15hCVJZUcTDKDx5QkP3ho//zqllj7behsRPSStFm+vn AVC3+MZo8FHz9H3xCxIyFV7srENnDGERoAj1vVW78G8X0aceeGnE1ROJvIBZsWKjyy9Q MEdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=eRedCCVQ; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-174890-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be6f3csi119691566b.798.2024.05.09.13.16.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:16:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174890-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=eRedCCVQ; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-174890-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174890-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CBA5F1F21D69 for ; Thu, 9 May 2024 20:16:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5937913E414; Thu, 9 May 2024 20:02:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="eRedCCVQ" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.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 EB75F13E04F for ; Thu, 9 May 2024 20:02:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284975; cv=none; b=sd605ALteuPfGufMj+n5FeKLySCqPhGJr5Fj0E9HbJaxv84gWdvU7NJDoRNII16x93ICKnJQ7CA9yrgc1gHnvXieqKgQTGl+/oBXUhm5cTKFhcuqBUsoXbLtNg6SnVPfg2uiBFYZKFeN+0hk8utsK3gJ07hY/2RL0CnPO78DX+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284975; c=relaxed/simple; bh=UfAo//kQqUK9+HsAvQuH76Z/Ww9en9hZzqfCF87sxjE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=usMTGrBkLb/kvsxUuCxxr9u2dxSlPA14zJqg5tMYb7tNSCc+iLIhrN3IHVrp96wUqvuDMcS8vCXRPphP95wvJ3SAdUx3FcP2Gk9IX2msYAN5da+SzL+waqt9qmcdNbdosnN4zOwC1aLRie8XxL0w/mYfSBbB4U/RDFe3ySK+Kp4= 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=eRedCCVQ; arc=none smtp.client-ip=209.85.219.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 Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-de54be7066bso1965327276.0 for ; Thu, 09 May 2024 13:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284973; x=1715889773; 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=/4YtNx2ds/btNjRumtpOC1sPQ1T7EDCPNUgbL6GhZJk=; b=eRedCCVQPZl1KOUbxZ95OUl70EF1rX06XqFV8lQqMTTlVOyTqj51cEb5KvBzZ3Hzb1 hthxAJGRE304FYwQXUk7ovvTnVA/eA5h/tRLekQz2Fr72FIhiNyESeaj7wFvq6gfJvSP DNjSbLAZwXKpiOA8c2aFE76BV+Q3cXr8m3u/bdJgAzRuWL61XQ1fc480Ka8QFzpqqsiz tH608v2Kl0sUc6wMlMKtgUmB5QBJqFFYKw6a70eod3X0sM0hRxG0l5dEz6QdjZKlmwDb zFl9OFRRp/JU5pPcNgdiZ8OjYwA83eHfvWGZykIAumFzvVLOMtledaL7juum/ABVdD+3 3GGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284973; x=1715889773; 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=/4YtNx2ds/btNjRumtpOC1sPQ1T7EDCPNUgbL6GhZJk=; b=AHLHQW3Iz+RIKrv9n+CzZey//ICFNMNd/Voiveir1QbrhJXq8lFSbyIonf8uLnmA3D uQzD+aynwgSW8hiEW/HotrWi2+IUAi7/NhOSqfHdbvDbOG04UeL6RvDgP6WYuX1J8xZf g2IBVEFhCOV7CJDmWsgY7bTC4b4kRxIWg5rFPRw9wDsMoKYUP5KbmFoEZd71Z1d0rDmM XNM776R+0WUgTV0574vELP41YZRmKaFZfSvY0ctxFl0MISAWKCAHWgPoa4eut7WSwOIf b1pH5j2jjCDDt6ZfExfj/V4r5Ii9qEgvQKs3fdRwzqMyYDpuARSRp7qg/8lAM+drVSn/ 532g== X-Gm-Message-State: AOJu0Yx4noNlCAXe9GST9tBpQoaNlM+qvUbN7hWmSJNIEtfY/oMCK6My FaxqQLVPRUsmlgwEW5BNoSpRmItIlrFnox0P0EKILvfpaTFW1RjcnWJmgD161CV/P4XuOnoaY2J UEw== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6902:149:b0:de5:5225:c3a4 with SMTP id 3f1490d57ef6-dee4f304cb7mr138986276.7.1715284973168; Thu, 09 May 2024 13:02:53 -0700 (PDT) Date: Thu, 9 May 2024 19:58:35 +0000 In-Reply-To: <20240509200022.253089-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240509200022.253089-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240509200022.253089-44-edliaw@google.com> Subject: [PATCH v3 43/68] selftests/pid_namespace: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Muhammad Usama Anjum , Andrew Morton , Edward Liaw Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org, John Hubbard Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Fixes: 809216233555 ("selftests/harness: remove use of LINE_MAX") 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 -- 2.45.0.118.g7fe29c98d7-goog