Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp83879lqo; Thu, 9 May 2024 13:23:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXA2APKpQSpuH/6kmeLQZo2ZeCYz+ca8wKym6z/0iiTMlS/5mxX9DS3z4DkT0cj0HeHD7t3D+rjABGNsF+Btda4LKtby7XbaLJJOwoMBw== X-Google-Smtp-Source: AGHT+IEin8JZ31hYD85f3eYtEF8T5ZYySIh2IGmppgEtfON48msj0OgLOvjuprVuTW84GlarxeqZ X-Received: by 2002:a50:cd41:0:b0:572:a08d:4f28 with SMTP id 4fb4d7f45d1cf-5734d679218mr481891a12.31.1715286180045; Thu, 09 May 2024 13:23:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715286180; cv=pass; d=google.com; s=arc-20160816; b=dQ5M4Yw2TfAKKu39pUjifY+YwY4QibQ6J7Fr+dR35hc5rvyLAS5u6Tocn/WF3S5nyF /qIowO8ZBpSjekWi86aRqb2171raGYXzV7jd501vhpQDwSH0S5X40IUatdaxjZOePYKA qfkwE3ROnUpdE3iiCK7CutvCLmwT83TTNiIfW9iqKtszB8CUaULmuqcPQjQmaQ7Vmc2E TlZ5KGhNXQxjMOmbBVJMYwDUq5N2EF2he70H9MJs2s6Cii0QgYBrLPHG9bP5D//wB3ly N5p18z5LvSirFYx3QBeJ6TDbgaygoPA2bJ1qRQZccppJb2oLN06QHkGXGFQhTYZCtf8b BhzQ== 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=pXOoN3MSopkhNhuWJaS5P2NJD/isy/FaXh09ek6Y/hA=; fh=I8v/LepoJoSaZLiLlu5+QT34X5kQKnr8VZEuqNoCvq8=; b=Io4Qbke0le4gjYneVZCjd/DUNNOJHQhWeY+cmXnwZ6Dnlhx8KAH9VggtPatjhHnZCB q6T7YIhV9tmvT8vDbmrUw3ysJFyn7xH3ww1W0vyU61FQJNOM6hQq6GoA9UK7fM6fspgI j1UC1b/zdIub0dE/xcnew2ww2JzDpn2TuQV1tm4EPvQIOSiyOkrd7ROrE7qcPTz5CFER 8XFGo0dEiCZa4bYJcFK/C3OT/Wk5Sss50XptpXJY0bdKdfKjxfuLVzseH5kqx3UCb3Y+ DclOCXEdMjDsv3yGsQ6Ev24wRqxJJoJu6iUGjYEOovmwFI5H/Su/oNYwxGGRXBo6P34h 8S1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=paD0SECV; 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-174907-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174907-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 4fb4d7f45d1cf-5733c362a77si1143393a12.510.2024.05.09.13.22.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 13:23:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174907-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=paD0SECV; 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-174907-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174907-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 C35891F211C8 for ; Thu, 9 May 2024 20:22:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA3CF1465B1; Thu, 9 May 2024 20:03:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="paD0SECV" Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 B128414601E for ; Thu, 9 May 2024 20:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285023; cv=none; b=IM/KQg/AMMLHGkWVaMJiqjuXG5ic4JPXZouV3mj5aaaAvTsQULOeVK+Kc8S+gG05uiFkPYR6q03+jyLE3UKfBvQ2a3qbi0l66OkQMYCSAeIBAhqeK8fOENXPc0IEsC0rp2kbKzHzhnTZyEOwpZvGn0MejEDeUTOG8JPi9ke5L+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285023; c=relaxed/simple; bh=drfJBkOcI3OrfjhbOo/yaR3wt6nXvItHyB4hpcflWKU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=L7nNLKKfAyn9Jy6nfOZ+3brAjv45Vsh9Xadns+PJ7sIO0FPtdH6JwiBvjWmbC6b5wAj59b8qd0hX2gXv2X1YXRKnty4tzA8aU10LESxRb7cVhrln0hfMmTRorsH8swGGAP58DbWn9NT8F2wwrXqVS6d4EClpFX+wGe152aNiZm4= 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=paD0SECV; arc=none smtp.client-ip=209.85.216.74 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-pj1-f74.google.com with SMTP id 98e67ed59e1d1-2b6215bcdf2so1215954a91.3 for ; Thu, 09 May 2024 13:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285021; x=1715889821; 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=pXOoN3MSopkhNhuWJaS5P2NJD/isy/FaXh09ek6Y/hA=; b=paD0SECVOLGOmUVCj7EJzkVe8JyGb010RdLXEzoteksVmoNQ7pAj8GEKp68Z2ruwqw TNfw41T8HeZFffhgpV+A5qBp+Q2Lcuu4DrPDx6P1YFW/fcm16aHmDJIvfiM4auLpC71U /YJIzyMbxVZt1qS9m4BfSQ+u8O70N5XpiTyp4fu2j+aGgyG8twVhn7Fs62qxtsw+EBI9 X2/BNvQDqPYd5VY53+4MnLPFpcM4lIt830tMoH42+AjZYRe7g4oPYqomkUBkXMvLHnRl N32Uv9TyEDUFhvDhU7t+HwRaIL45ZTDq7AGhIQccJZSpqiQ5E3vc/GFpqTroR6UKic4k 5K4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285021; x=1715889821; 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=pXOoN3MSopkhNhuWJaS5P2NJD/isy/FaXh09ek6Y/hA=; b=GdEfEKVDpMUVDFUIoVkiQlzbZil2UtKLKAdYYaGfZF/kGGXR4yQbDhMtGT/tSxidtz RDdGZphBGE9hBSDstzQjl2tkkOu/5dF0d5rJiyt5c4fuLhZD1MJz+aZoNwGqm/5swJhp Fqn0rs/i1YVnpkSDSkxeF1ZkGQ4nfczoGuqyh71+kOaNmNor9qRlDlTFcg3pdJ5w/Jn/ UVeU25Y+vjGdJAWk1GmG27/vcZ+y17Sou5MpCH1ckynjcSbJl5SQ02g6duPiVOUKGvnL i+dNvJFgbQN823LC/i6MTpmPYwACzRp2kZpbUDSRXBD2nfqHSJ47E3+J5CXhfFVXlzL1 /g3A== X-Gm-Message-State: AOJu0Yy5oVFua5j3bvj8ORJY/Q/1UuACoSrcaruXD1UMsrVcpY2LhOli LUo+y50gg2jQ82qg1Kat8KfaAMLygU40JoiPu41R7Xb6R7ORtfMw5NC2SnkN/odz7MJmX+b/w78 UyA== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:90b:190e:b0:2b5:af18:5f98 with SMTP id 98e67ed59e1d1-2b6cc76d3efmr1225a91.3.1715285021038; Thu, 09 May 2024 13:03:41 -0700 (PDT) Date: Thu, 9 May 2024 19:58:52 +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-61-edliaw@google.com> Subject: [PATCH v3 60/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 , Edward Liaw , Muhammad Usama Anjum , Andrew Morton 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 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") 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