From patchwork Wed May 22 00:57:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13670361 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A9E76C25B78 for ; Wed, 22 May 2024 03:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=m0ojl5iFpgDCKfdYleFMtN0SwghyepB174r74kCdu1U=; b=IOoz4wT7Y2lbf8EqAnFLrP0Dcz EohedO6FakfdRVV+WRKVwMgryejjfvwubOT4p3qmL8HsukTEzbAfPbdAHdPPOQEmTpDmfSLEREwWS dQJX2QTEvNzgHbxcuDrMlqClwIv1/mJehHb1tuXP9Lcc/0R02RJN6Be9oE6zvmFdPFvL6hyIMvhQB 1FnI+N/dizVi3V4I57R0MW8gjf5hvO5mLzmMnUS2ogAhMx9w6mLVAwuTikC98XqqUx67j23dGai6O Fe1YJ8o2YtkDX1OSGnFyXqPXGI5ZcgaLJHIac+DYx731VSEpHA2jsW//1PKiCRARs3dm6UPkRrbDm x4ATzDfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9chA-00000001soC-02Px; Wed, 22 May 2024 03:31:16 +0000 Received: from mail-yw1-f201.google.com ([209.85.128.201]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9aMx-00000001UhY-1Sk5 for linux-riscv@lists.infradead.org; Wed, 22 May 2024 01:02:21 +0000 Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61b1200cc92so236529297b3.0 for ; Tue, 21 May 2024 18:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339727; x=1716944527; darn=lists.infradead.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=QXP2A1RmgNCuhz3jzkqZFPq/T8JASHp2Av/T3TK/B0A=; b=I7PV1Hwnxo5TS4iOJZUGZSTulggDaSqy3In5SXG00zxpFarJQ4qEpOKMdqvfNYEZdf 3ipnw/Yk9SWImQVdQGsQNUnwi2M6G88oUBAQ1NvfMPY7YAxzDXWwiAUEUKDCyJu6i8dE XkT0U93LEk0d8x4BVNZRkYDFU69739Oi4vvopse+5GTe18SBHdAkWOU9hX1GCzoMc949 rDIWHufH6OhyXUrEoZ8AKwNgB0uKdRIJNxHfg+tApczT7ZvFITIfTWQXVwVE81WqrC1j 8edNyGqDVqPGrclOoSArujl7x1GTCCZ4H3JOecA/02e5Y8Zo3VWzKuW+dzrL6wbRoECA NJ/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339727; x=1716944527; 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=QXP2A1RmgNCuhz3jzkqZFPq/T8JASHp2Av/T3TK/B0A=; b=ECb/yQkv0ieURJ7TpKNRxfV0UraIAAF+irtxBOouI4NeXlXGdvM6A3Nqm1+J6gXpMw 5WmCS8PuDxjyPRUoBhnS01INKgj8LSY+l5VcHu4pMP0BVxjxTpOKWfCo1TN2EPFhcdzP qnel2xVJE/TAhKOwZ2GS1nnLW4HNKvW2Wiy2d7n1rozpdkFTOSHseFayb2ZOXZ/TcCUK 6RkrWwpydJHpmcmGywXwi5lki+Tgc5B+NLiLLJ9UTP2rvJ5crN9V2wJxRjrR1xBMrjGg q+u+9ISsq6tkLXtfP3cdT17w4+n0qkbUd+89XRmJZz0XcD8PU4sk1d8IAWd3h4Ez4Khu YYTQ== X-Forwarded-Encrypted: i=1; AJvYcCU/8LLRBSIL2yNDC4fHkEB1QjFLnATa6Lpqyo35jWr9lL8exROWFjE8uRJ18Vr2yUfmVOygZK2MRkRa4yZLJqeXc4mUAb24sFF7T4qlabgp X-Gm-Message-State: AOJu0YyWAVPGN/WZh4enH/jKPnNO4Yn9Na24R7y1ekAZBSzt64SLl0SU T9/LROOyDuoEki18NHqEW0kFaoqYxcsTRdayaVOxPUrGI5oEHI5Zpcr06VCyfCtDcil85zDZ54f 3Yw== X-Google-Smtp-Source: AGHT+IF8EId4AZCR6U6eMj64+DX2yOmS+/detewdRtohDpLo91NDj/3dT9jN2LeidzPNkDf3gZpsYu11pYM= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:6b49:0:b0:de8:ac4a:1bce with SMTP id 3f1490d57ef6-df4e0e66261mr198614276.13.1716339727027; Tue, 21 May 2024 18:02:07 -0700 (PDT) Date: Wed, 22 May 2024 00:57:39 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> 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-54-edliaw@google.com> Subject: [PATCH v5 53/68] selftests/safesetid: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, " =?utf-8?q?Micka=C3=ABl_Sala=C3=BCn?= " , " =?utf-8?q?G?= =?utf-8?q?=C3=BCnther_Noack?= " , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240521_180216_237428_AA36C53B X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/safesetid/safesetid-test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/safesetid/safesetid-test.c b/tools/testing/selftests/safesetid/safesetid-test.c index eb9bf0aee951..89b9d83b76f6 100644 --- a/tools/testing/selftests/safesetid/safesetid-test.c +++ b/tools/testing/selftests/safesetid/safesetid-test.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE #include #include #include