Message ID | 20240510000842.410729-15-edliaw@google.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show
Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 9A62E51C5A for <linux-security-module@vger.kernel.org>; Fri, 10 May 2024 00:09:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299789; cv=none; b=NyqnrFGiM/4CZOZE5GyvT1z1V9T/9vhZ6wO4fe7GfEmId1ex+tykSopcVG8cjJ99DGx7sVu7tdUo16koFB/DvjGN0HS8igcWzSmz21Qscpuncy4Ues/V2Y9g2QD654tOYTXGwnAv/emhsYCH0vbAZq/Hl5ObsqTi/MvM+x+P7wc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299789; c=relaxed/simple; bh=VJMdzYkkWNobVas7QA48PzMgvlHzpsjOh24f/lA6Juc=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=NOGxFeNqwPsU2H2/DaqfuuynNbEhsj/lGj4IL4wEtX75nDFvDW3GeiFuv2g4arJn4zrB9SvhCdXQT6pc6HuaHkCCJNzRU+saH/QshkU9HwhVaq5Wn674Km11crXu7WZ2mnE0UC/8LKdDZ7/RzZQFHSxVGH3XyBISDzOXCLSNy+U= 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=nDPkNFH4; arc=none smtp.client-ip=209.85.214.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="nDPkNFH4" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-1ee2f06e652so14304065ad.1 for <linux-security-module@vger.kernel.org>; Thu, 09 May 2024 17:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299786; x=1715904586; 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=F6pzUPfc9dzXnDgIcrAO1vEqFEJkqCnVb2h/9OrkRu8=; b=nDPkNFH4kqkTWQo6t7Vzz4yumSsflMvN2UQHNrPA5AnyZGF/ULVPBtqytFviIzmjsO Gfq6mFRg4bVFG1nfPNls3xWaQ6/BazVAkObg4//yGL4r3ur20M7ck4S2AakCjPosefHq j6Y8UTLZmk4QhKN3OXYxf6p/EOHSa9SlG2L9Ipf5BZQ6W8c4m+Ykh28Q0dKeSKWJdbiy g9vI5+zSrVLu0CnfGVx3x/pXxQxjhahU5FyljdA6DFJKd5yZ0Nfw4j0qXJtly3hZonLx mWQpQI/PVSqwKl9P17SVX2yIGt9Vm24fpWmPeMY1Cvyiz7St4vUobnAoFsXLK2e83KOR /G6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299786; x=1715904586; 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=F6pzUPfc9dzXnDgIcrAO1vEqFEJkqCnVb2h/9OrkRu8=; b=QDga7+w7B1uBxn9wL+5EN+vwLd8SY8jhPbMeGZkzxpm8oanzAYNG/7BVgI8N9WYfBF WOZpDGguKg+vyDSMM2Suyfiq1eq10OCLfePo4U71MPEc3FFAPzyFk167yp14g+z3xzQQ zwThPpljjdlQlB9f58nx9vhuCTf6uKj9xzM/Ns+RTIbqSsMw5r8hlayy6UwPPIMXDRED SmS7iE38cTpBUDlFUoBmb5vhm0uscX+IiMYPWYUEw4aGfNmAyyQrsIW8ipzWCb2N2rks 8s28IIsDX54hXXScP55/gakZ3+6C7IawvO4AbH8ABsFFD/jbNVKg4I6vys+hWx0BvF4y yrPQ== X-Forwarded-Encrypted: i=1; AJvYcCXP870FbsnUagqF6l7k6vOBaeUj2V4BKc9gki2BBJ/CGsu47q6OlDyIZRGHKfV37EFTctkFU2S7Q4xW4SprOG3g1gPQnI1KRFlhJlJAoSOqKtCpnEQq X-Gm-Message-State: AOJu0YxH4Y7tYZWMgWqp0gsAzWEzD8sdcaG/LsIAbVxA++1APtCkcFBp KQcaNN68bsmC3fkKHQjeRivlNY2XjsPUjQ7tlTRmdAVDPpPtQ3awku7jAjmgo5JZOf3V0erP8z9 6Uw== X-Google-Smtp-Source: AGHT+IFRiEIaxUZf+B09qoF4C7spnjmBUeOfByi8Z7hCbfbBT+bOyMsubD1CDFgj4SuGnEmEdt3tFwdeaFk= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a17:902:f201:b0:1eb:51a3:75ee with SMTP id d9443c01a7336-1ef43d17fb2mr26315ad.4.1715299785832; Thu, 09 May 2024 17:09:45 -0700 (PDT) Date: Fri, 10 May 2024 00:06:31 +0000 In-Reply-To: <20240510000842.410729-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: <20240510000842.410729-1-edliaw@google.com> X-Mailer: git-send-email 2.45.0.118.g7fe29c98d7-goog Message-ID: <20240510000842.410729-15-edliaw@google.com> Subject: [PATCH v4 14/66] selftests/fchmodat2: 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> Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw <edliaw@google.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>, Muhammad Usama Anjum <usama.anjum@collabora.com> Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
diff --git a/tools/testing/selftests/fchmodat2/fchmodat2_test.c b/tools/testing/selftests/fchmodat2/fchmodat2_test.c index e0319417124d..6b411859c2cd 100644 --- a/tools/testing/selftests/fchmodat2/fchmodat2_test.c +++ b/tools/testing/selftests/fchmodat2/fchmodat2_test.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0-or-later - -#define _GNU_SOURCE #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h>