Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp57239lqp; Tue, 21 May 2024 18:23:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUb7N8Clqm9tArAF765gDnSw9EPjwl/oYBFKVstuYhinMUmqnY/Hx7JgdmpEhRufZCKnUwWWu6Vr5b9oZ/Sk5yF7tseNGyc5t0htpRn7w== X-Google-Smtp-Source: AGHT+IE+Z8N7NVhfTjsqwEojUlM08NT97lvNH1CZ7Fgr09uYIEP4PYOxdPUOHn/ZAJYonRceazgt X-Received: by 2002:a05:6a20:8421:b0:1af:cfc2:8069 with SMTP id adf61e73a8af0-1b1f8821bbdmr749494637.4.1716341023515; Tue, 21 May 2024 18:23:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716341023; cv=pass; d=google.com; s=arc-20160816; b=KWN0uL2DjwxPmf8OjkJRSPZQabdUniOGDyK/ewv+V076AgbGFnUaKkA+N89RuhDmuR PX+KWhn5olV3Uxd6TUnPYz/yGRCm3CIguxQE36yOENUptf3InOUc1I9OX2JqiWtgP8jq KSBttz0Ni3b6xvK1tYtsBZRjWhys8dr0SA1Xx5OZozlIodyiQ3glsi22zSD6urobz5m2 qAvjydYVCKefZ4E7uJPFy5Letvf2d8GlnN/0OedWv6rGixQDIleqoo6so4P4liYcpxdu BnqQjRFOURWBIUs4CHNF2EnQeczNsH+LCaCx6wIkxQu9aSmlZQ+4su1L8XzjGIGuBNPU vOow== 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=14hyqItgH27nXrTOpySK5+rM0Eq8K4UXKAFuWetO8r4=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=yQdRAbVVsEaDOAB40K7pdhbdM7b89L4F8PdyO8+DzmHjXN5JmNAc1FlBVSiKPUxrrd OnGAyuRnAu5Vx0vFnoQQwrhkP759lXgZNMTggwFFkTgSrMUvXI9iOqBw+56YaCOeh8JM L+anxW+GuR6GPXMFi5MpnkyXYrZKyqbFAN52/m/PgYdVftHxjukud3XiA00wFZrlCNmb yrRHrLLqZT7mr3R9ybAT8p3WKvG3xikEinEeu1kudBoISK9cidQ7s9TfjlRni6o7PX4V m0gI33R2gX2g8xK5bjnTY9ZjZC9cf0I4C+asVdl3t3rtuayfliNRicIFNmMhJwcT4sGk eJTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vlZBA4Uh; 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-185635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185635-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-65e6b2d93besi5892767a12.764.2024.05.21.18.23.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:23:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=vlZBA4Uh; 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-185635-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185635-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 029DB2816CB for ; Wed, 22 May 2024 01:23:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21C67158DDF; Wed, 22 May 2024 01:02:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="vlZBA4Uh" 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 49211158D7E for ; Wed, 22 May 2024 01:02:23 +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=1716339745; cv=none; b=Lgc9FOYSIbXbd8yxhHjD7VHH1JylRxtdcX3bvSS6O4P8SRLYQbVOY3Nwsp2mQiwnZ73y139iS4X8dC3FqryWPCD33g+X/YWu8/HqgeoKX4dudhFEMbjnxW0sV3460c5jAfj1Pb/z9DgsHSKWQjEYxgMDaMZAAWMZzE0x7YzPvLA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339745; c=relaxed/simple; bh=mpbP8rEr3C0vbeTbWGYcRrYPwWGHWpMy1BoxidaCGBo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=WBvVxVTfLj3lpIYWHgskDSOAToAVkUl0PLF9wsMNPNFf/DT/E8bg/pBI4EU6Q8W2yrzAgI6uUNVMkkhjBLy7KRqMf+/JFsUMznUs4IrOfiHwcYcaj3X2pOmf3Q0jIr95gf2+LXoXZzLdKI8AUEo3HaNoLTHSSyavD4fkRSJVHoo= 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=vlZBA4Uh; 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 Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-667fd2bf4feso2915952a12.3 for ; Tue, 21 May 2024 18:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339743; x=1716944543; 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=14hyqItgH27nXrTOpySK5+rM0Eq8K4UXKAFuWetO8r4=; b=vlZBA4Uhl4IIn9na0IneEgwSS5Yuax7MgmiiIMuLcNGDzdDLVE7qSQK7mE+JJpG7Be IiQ27jIfty50TcGV9u9NBdWYB1jUSvPamJUsiQPc3neiR5qKKrkD+SzHVdg31Q/m17/r WzGAdhyuewKSstPVkxaNrpRwM1QYesydst0jCm1HMhLof/WFi8K0Pi176M7S/PGLDsgY 8sA1PFzDrJuU6dYgRjZlZ9PKaFUVKeNR/HPH3uvfpSwFdSqz04DtXD23uHD5tiHRH97T Q6EC0c3iBrMWijEX6jlMgteJo93t541IbKJ6gzPioTSMDU6eOouiYVU+vJoRWX8Lr/lh rwqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339743; x=1716944543; 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=14hyqItgH27nXrTOpySK5+rM0Eq8K4UXKAFuWetO8r4=; b=rs4NAAvOsd5SPkMCYlqYysfgYGuFVlMyXYyfj8VVM30i6Jv6RjQP4muyXSbvPdLmKx ZqI7dvWheJOuGXn2TqZJH9p5pIQfQzHkosHHHrcKwSmiGuHeAgXBKwPqZS3Hg04qRg44 gyLqXjq0w51oJq5dV9ZRsF9Z79SAyd6exhvNUwWYtvDoj4tOilEUq7txKzEetWAmvGY2 AFEWlNmdh5dosEVQUfhcBEq2BOEy/scUrZ7wHnJNqYj4XRrMF1yHvGw2h7wWVnP9imdD gIbXYGlf7jUxIEAXHbFL4j9PrgxcUaNUwvnh5tvam4wxlgw6Ot22DnqPpOMJNLEnSQff Ljdw== X-Gm-Message-State: AOJu0Yw2MPfJKRlxa+SZy9UhKb+j0FbKFqL+7L6V7eVs2JFi2YcXKSIt lohAaOPHg8+3OVpunTECefBu7R5NbfmtLUss5oGKbCyQPzZAEO5HdZQsbKLUJEWK5kixZzm7cMy jzg== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a02:60a:b0:5dc:5111:d89b with SMTP id 41be03b00d2f7-6764dd9810cmr1252a12.8.1716339742654; Tue, 21 May 2024 18:02:22 -0700 (PDT) Date: Wed, 22 May 2024 00:57:45 +0000 In-Reply-To: <20240522005913.3540131-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: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-60-edliaw@google.com> Subject: [PATCH v5 59/68] selftests/syscall_user_dispatch: 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 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 Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/syscall_user_dispatch/sud_benchmark.c | 2 -- tools/testing/selftests/syscall_user_dispatch/sud_test.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/tools/testing/selftests/syscall_user_dispatch/sud_benchmark.c b/tools/testing/selftests/syscall_user_dispatch/sud_benchmark.c index 073a03702ff5..758fa910e510 100644 --- a/tools/testing/selftests/syscall_user_dispatch/sud_benchmark.c +++ b/tools/testing/selftests/syscall_user_dispatch/sud_benchmark.c @@ -4,8 +4,6 @@ * * Benchmark and test syscall user dispatch */ - -#define _GNU_SOURCE #include #include #include diff --git a/tools/testing/selftests/syscall_user_dispatch/sud_test.c b/tools/testing/selftests/syscall_user_dispatch/sud_test.c index d975a6767329..76e8f3d91537 100644 --- a/tools/testing/selftests/syscall_user_dispatch/sud_test.c +++ b/tools/testing/selftests/syscall_user_dispatch/sud_test.c @@ -4,8 +4,6 @@ * * Test code for syscall user dispatch */ - -#define _GNU_SOURCE #include #include #include -- 2.45.1.288.g0e0cd299f1-goog