Message ID | 20240509200022.253089-46-edliaw@google.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.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 E18A8127E2F for <linux-security-module@vger.kernel.org>; Thu, 9 May 2024 20:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284982; cv=none; b=cSoeBwOaXFoTYZXdCsMW7C12IyMs/d6uAAw6jxay3K+LLX0aCOPaG8rortzbCbA9z/popQjnWRKtc3zRtYJ5hnpXo6EbTxuDqgZKsizagIHP9PSChSFSCb2fskYwgW/dY89HTuhjQ/cKalH52RC1KQPQhTOZuN2GxE8dt3ahVow= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715284982; c=relaxed/simple; bh=Yhucvb4XvEH9ebVKmn2tHmUSyiCYlyI/y4adrQ50D4I=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Q7fcu9Z/2Gd5GTDXlwf+bIfYYcRkj5RryFon34SJYEfH41abuFXNHiuJM6oRf84M8UWTdLlvP3OT3vZfQWl1ksHNw+VkHlIKAlnIwV7BgoQgmmqhbUAMcH+uVgDQd8Wlpq/6t5amA9HGaro8Ejg3PM3/xZqEpyvnOhOeL/uo8ZU= 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=uSuxJZz/; arc=none smtp.client-ip=209.85.128.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="uSuxJZz/" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61be26af113so21343107b3.1 for <linux-security-module@vger.kernel.org>; Thu, 09 May 2024 13:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715284979; x=1715889779; 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=GvmtJI8ym3OlQtCXEUxM/omnRwwmEG5jK8JE00ZU37Y=; b=uSuxJZz/Mm4cknurqiynWSzrcEqpcfyAQzgyus5COBBuunzwRoeesSU+P1keFW/CFw DQHIRPhd6D8Yk4GIUjh+pR1W4JTBNf/8UCtxWAFsgjg+U236MFJyadOjKyIMlOpzCi1s +eCVua/hX0X2AAy+Vpv8Sys8UrFoWhHTXlkCu7WsqiXAkLq7FjUzy0Fx2+PHA9ibatLq uPpHAfr/iuHqAkt3wjLtVU5uy+L88YnCRO1oqmLPLLOcruLUfbxH4OpEZn3S2gV31btC d1ZFmt77v25m13I6S2qft1pFLBw3pXT1jjOElh7wta5m+4ChH/qr2gy4+bOJ7kD7/O2O lzbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715284979; x=1715889779; 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=GvmtJI8ym3OlQtCXEUxM/omnRwwmEG5jK8JE00ZU37Y=; b=SoLpL/SPhE7XglJQr1Vh8vRs4KKKUcBFsTc8bVYdvxnCDoni3qdexv3D4eTvZcdRUu /M7pm0EBR5MjGpOptydP3dTfF9U7hbskw8nupcGagxXIxjywijUBgOh7R9ZDlX7RigZm upCp6IfTCO3P0Erxn5EuzGQBIZIklWmengXrz1aksNg7P9yfnG9tV8RLJip7k4iaYv+s 74T5OinG2a9WLDKTmNbJbzOH5/SwZp4iDXozv7YAMhARwyCXx0J36YGAAffge+NrmD+5 eiOsKkNHupt7wymZRhVwydIWiT5vO6/gWpU1Xd69VrUljZlrdCieO72sWG7zxqXPJ8Pn jCuA== X-Forwarded-Encrypted: i=1; AJvYcCVAvih53CqsO/whqghTVgovzXx0FH6OnUs8DQBgiWy7Ly16g36BR/DYmKo4DJsj3VtAmQ4XTt6SfNDFUBptTVtFXLMKACzQHqScFcw6IU8oJTJA3XiG X-Gm-Message-State: AOJu0Yw/vZuX8byDEwlRA0Rbr03qQyhAhYaRaPyFSUuOuy+WSb1HKyOp g2Fu765TFpt2DMQfpntRfUTlaKwKbKDgck7EpT4UCGDxvYE67GzdTf7brYBTy8RsYP5uhQezzi1 bIg== X-Google-Smtp-Source: AGHT+IECWXJfpRwj4dOARyjNpf5qmoqsg21f1i+unVXRq4Ddyrt1gCo+t8C3Okd0lmBC5HYwEwRa9oXboTc= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:690c:6f87:b0:61a:e7f7:a4cc with SMTP id 00721157ae682-622affa4dc7mr1321267b3.4.1715284979174; Thu, 09 May 2024 13:02:59 -0700 (PDT) Date: Thu, 9 May 2024 19:58:37 +0000 In-Reply-To: <20240509200022.253089-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: <linux-security-module.vger.kernel.org> List-Subscribe: <mailto:linux-security-module+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-security-module+unsubscribe@vger.kernel.org> 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-46-edliaw@google.com> Subject: [PATCH v3 45/68] selftests/ptrace: Drop define _GNU_SOURCE From: Edward Liaw <edliaw@google.com> To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " <mic@digikod.net>, " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " <gnoack@google.com>, Christian Brauner <brauner@kernel.org>, Richard Cochran <richardcochran@gmail.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Jesper Dangaard Brouer <hawk@kernel.org>, John Fastabend <john.fastabend@gmail.com>, Andrew Morton <akpm@linux-foundation.org>, Muhammad Usama Anjum <usama.anjum@collabora.com>, Edward Liaw <edliaw@google.com> 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 <jhubbard@nvidia.com> Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
diff --git a/tools/testing/selftests/ptrace/get_set_sud.c b/tools/testing/selftests/ptrace/get_set_sud.c index 5297b10d25c3..054a78ebe8b5 100644 --- a/tools/testing/selftests/ptrace/get_set_sud.c +++ b/tools/testing/selftests/ptrace/get_set_sud.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include "../kselftest_harness.h" #include <stdio.h> #include <string.h> diff --git a/tools/testing/selftests/ptrace/peeksiginfo.c b/tools/testing/selftests/ptrace/peeksiginfo.c index a6884f66dc01..1b7b77190f72 100644 --- a/tools/testing/selftests/ptrace/peeksiginfo.c +++ b/tools/testing/selftests/ptrace/peeksiginfo.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include <stdio.h> #include <signal.h> #include <unistd.h>