Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp188249lqo; Thu, 9 May 2024 17:31:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCskAOHOMnxGBJRdi/grOiFgLBGSTS7BnNbaO3FC3DbDsDa21Z95aIoacOScMcp9yj3eidV4ns9Oj2Q49cCR2KEMnKWmIK/JUfaztOCA== X-Google-Smtp-Source: AGHT+IH+QwB7jXAB1kRlHL4MZ8LBBf6QAbdG9vBPvamGZeysg88ZCeYPhgfyBO6MWBYoOwm6xPjj X-Received: by 2002:a19:4358:0:b0:521:b42f:2674 with SMTP id 2adb3069b0e04-52210277c35mr750762e87.63.1715301103076; Thu, 09 May 2024 17:31:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715301103; cv=pass; d=google.com; s=arc-20160816; b=eI0zP3q4yqSsw+HZOi/voQjudeoeW3nd6oxS2TYlyJDKNSBpyaWjKbLzPcMa4itfmR 23VBNo0mGx8TMAIngWTVr78V7h27H/Fw/R2wOjHFXRTsHH0eGVDxhx8Ujxl/s7Pn0emI Rtvu4VGjPOvcOzOlPA+RMhJyCXIC26DFUmnnHoZy8gLNJGlAnlwoyjDa7unZ/L/r9dGM FmkNDBptPbyyvEhJSWM0UaQnhPQj8slgq275+hUE7F6iM3X7wF3/iiceJc6r2WVirmLQ CIQd8E2KA3EmuIhd8Q8pEkqbVuIyl74WzHmicWc9UzUlzY6ahInF4oQrMzd+EeoLt6ME GJqw== 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=lfjY9RujMMfudpJuG3AQZBDh8vReKDVIi2txg8s68yI=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=F9WhgxquIbt2sjykPKwUgTpU+6luGXVHf0TZ+W1m2viQ9RjFMMvOqYjdl97SWgoy2q vM7j7Cwwa/ze/J0DNB7UDqGtig5cUFyCq18L1StLVRyS9kT/TLDZqTwHRvzXA+W/86cy 20rYFm5YMcxkMcTbbhUm7JsYC1UMRK07RWQ3zs+gUs6eRvqJDUWrbIXAAFI7r+IuzkBk zjLakp3Ax1enmzww+ixWaVHODp2EkyHVDnIF0dnkdfz6+wRpENh3IXq1EX32oHVk6Lbn PUu2dSp+wgH93/YahDIVWj+YwAAwDb5AmSEbaJ1LxOnV4DZtd2wbvsZnVahWzHn5YzcE cBJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="WntSC0/A"; 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-175155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175155-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c2c087si127088866b.948.2024.05.09.17.31.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 17:31:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="WntSC0/A"; 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-175155-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175155-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 C4B1E1F2202B for ; Fri, 10 May 2024 00:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEEAB13E419; Fri, 10 May 2024 00:11:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="WntSC0/A" Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.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 8CF2013E046 for ; Fri, 10 May 2024 00:11:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299912; cv=none; b=l7w9C3WlzTpilnUnfzxBzP7oxrdq3/iAG2PmC/AicabOBd9jZq95+sPGcJcn/zRxTSRmde4PzJRcHE7Srvn3/rlMxtIO4mucXb5k5pKRCB0i7FEeDTvciZLxQKjGAbGbFn3pS/eCcMhzTRhdBluFcdz7hFyYND8uVKbsd7JQvuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299912; c=relaxed/simple; bh=wdMuWYdMwrgMerE8WeS63hJz18n5JDaZO1VLefXTz14=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=mhqgaH56+HZc4GxikPuRSO5OoQ3N21BuBRW1ex+8HQL7gxUri/8gl0D1lI+FJtb1h7grSJQp+pG+1wgOeiVNSh214Q4INQNh3IxjgtW2r9NvQ6wV/fCzlgWPm/vbjohYkd9PlOfVJTtKXzqnzirXbO1Y+6CjdxfzUON2oszdRKg= 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=WntSC0/A; arc=none smtp.client-ip=209.85.210.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-pf1-f202.google.com with SMTP id d2e1a72fcca58-6ee128aa957so1490331b3a.2 for ; Thu, 09 May 2024 17:11:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299911; x=1715904711; 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=lfjY9RujMMfudpJuG3AQZBDh8vReKDVIi2txg8s68yI=; b=WntSC0/AJawdU1hccYk/aSmL9ab4AHfclF+40PNoJ4ylJqg+FxEJX5R4F/EZzO5WR4 jXhqyIQ6FrpmQkHhiMeMsOKRPetkLPnnZb4S79PqSYFOM37lV93GT2kFTNeE6exCsOhf iFB3F3ZTB6bngDKby6PLhK9OP3y+gS+ZlEiAE61wWI4YfmNZIHmhaBUFaVHswaUVsu2x gNH0qr56GRkVicMbuIvHRTbWPLO5aVbvYjZwBfAAdRwrEC5H9nzSxvoKh5GL8JN9qX5A bnVFqHWBwUS/SaP+00dtLZ614BEC830hXLLrEOJdVdVZDWl1E5cOA1ovVHoJ+KiX6bkN p8Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299911; x=1715904711; 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=lfjY9RujMMfudpJuG3AQZBDh8vReKDVIi2txg8s68yI=; b=SvprSZ+M/Bv9JeDdSfqokZaetANtSQ3rhmsoMEElzu2KDCZV91Z3GCrIOESV7xJYSr 9HCWfMR8a/hgw1FKyDp81sh4JUv+YNWoRCImuUjpjox+g7rAAANflqinxy1ZCaigDxs/ /hAb2Q2A8i5Pprho2xoIOvhagYf9i8PAqu/VD9toVBri+uXHgbbTEztuY6x7MLAGGjRK iGxRoLvR4w0DUM6Jy4GVwWqZzKQOIqXC26W5FmU633LcSEQDRUHSGygApAZQtGbBggpB jyDIc4xRdg5lFjuCqw4dKTUcFluqN+BYqO05oTSr/5DQ0v/aVehDSODg+0jF0ErrxzwH fABQ== X-Gm-Message-State: AOJu0YwSZe+E4GB4C6L6fMee3K87NAWmleQaSfwrxhpVWwRbFhoOVcat pBRwov5xq49re2UxrljnVS7QeG/41aT1zT6RisHTuIaNSu6dUvBSlc9ncSVMSSsx8OaI+BJwMHd S8Q== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:6a00:2da8:b0:6f3:ea4b:d232 with SMTP id d2e1a72fcca58-6f4e01b953cmr21227b3a.0.1715299910911; Thu, 09 May 2024 17:11:50 -0700 (PDT) Date: Fri, 10 May 2024 00:07:15 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-59-edliaw@google.com> Subject: [PATCH v4 58/66] 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.0.118.g7fe29c98d7-goog