Message ID | 20240509200022.253089-56-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 BB71E82D66 for <linux-security-module@vger.kernel.org>; Thu, 9 May 2024 20:03:29 +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=1715285011; cv=none; b=Tq6KCFkby2ljKdKF2SxdSs+HvIJmiivR9j9ovOs9Rb9NdfSmb1dKuX2E5KQ1tecuJ1PMBJBlmothG37y0NdWXZU9eaVeXI+wRB2F4pCB0wGWWJLBhsW/B6/H2q7M8fAAtdEep4dWwmEuEtT46ThXQDv0EWMdYLBXivrn1KmkvJA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715285011; c=relaxed/simple; bh=Y8SFAJF8jQkO7mNCEqRJH0HVbnxlIXsW26AJJDoR4VQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=G8HA+Sv3M77PZd+C/l6PW591KWZ6Nmzln/qLefIR7NYoXKmXv9oQIs41JN/wRRofJlcEp406JiH3VJllz+SrXmKPeYIVyycnexp/EShk8pKtGtPnW/EO4iLHft9vyIB52gnFEa9UXRaalmb7DLTvsryheKoJxxniiWqP4lpxMBA= 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=h8UZtc+A; 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="h8UZtc+A" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-61bea0ca5e2so20592907b3.2 for <linux-security-module@vger.kernel.org>; Thu, 09 May 2024 13:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715285009; x=1715889809; 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=OfT8qWvNcb63HQewAHiwqXaD9aYY1/jM+kGh6QEdnYY=; b=h8UZtc+AzzCY12XZM/j1jdu7sC+TPus2DsyfSR9CJzPtwLdg0RZHorzCoEr8IgXLp0 3SqCsNmOtlzPhP7iLqHjoSCxHkYXyOxwi7ppsBlZH4C04IChGvSXxb82szRFQfNXqkTS scBemKx88t0zf9jOlT1H8gQAKnQbYd5EO20XCXVONKX71xyGkyyZTCQU/sslP7nj7sfo mNvGTx4gFQjf8bFXlrMFBDLXslpLaXeM3NeymP+XYQp77RJNcF/pwgd86InQJpd6mv1P EOKMI5rz+RSYzpPBL0bSdVNUOGXrax4HNO/+btuH8snhMUvxBAc+OYSx+skdpifzckmB 3CTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715285009; x=1715889809; 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=OfT8qWvNcb63HQewAHiwqXaD9aYY1/jM+kGh6QEdnYY=; b=mPG3fUh6ztPKAhTXv1p9rrSAgaXmp+CkxeEchO+EC29cqA2u6jajd1AuoQ7e0vMzmE DoYzSvNni2S+AZiv0GkM0sKXix7UFFJdDMYF2r62wxxRDodqAaj3gxRJX4rEA3QGLf/V w+7Sl7N0TTrdWoyWD0xS62u8mJlogcjU5ZCVmdr11c+N/YDMfFFa7crlYBlTcfQB2boI 5HXUai7fmZ1By/COSpuJ976L4V78+iBpL0S2TpgyXEVL8HlvmOb68tMtMMCB4CdvY9CI ypOU/JB+jOfvh4A94NQjKA6uhpFIsngiUHFW76kj/85xeRQdzN7Bvcp4EHCs1RelDQEb XQhw== X-Forwarded-Encrypted: i=1; AJvYcCXkSULIc35WH1Y86SIGZtqXztxpdt2XAT49KGcSkjgC8+fKXuMvf6XGqjf8gGi2smxbpWjzwbeCTWZ+OHUUKwqHK0J1YB43WhqGv2XUF8bqSS43luBs X-Gm-Message-State: AOJu0Ywt1bdEf3UZw90UZQ28zairQbvHAc6QCSIm9ErOGIZ/ddAu6EmN Rg3qXOBlwoXzH7ctOwm8tigu9RJ/5MN8AlWHQ/Z8CbSyr9YUAJSSoVe9O1vUtQOa7RRrSJ4tF7L qfw== X-Google-Smtp-Source: AGHT+IHB9tkCXkbQWJCekpHx7CFvQJIi03So2EwcHyZ97laLqO9YTdxhTKI/29nDkVJsDfnAEGuoDne26cQ= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a05:690c:6d0b:b0:61b:ed85:5d3f with SMTP id 00721157ae682-622b014b981mr1366387b3.10.1715285009033; Thu, 09 May 2024 13:03:29 -0700 (PDT) Date: Thu, 9 May 2024 19:58:47 +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-56-edliaw@google.com> Subject: [PATCH v3 55/68] selftests/safesetid: 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 Content-Type: text/plain; charset="UTF-8" |
Series |
Define _GNU_SOURCE for sources using
|
expand
|
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 <stdio.h> #include <errno.h> #include <pwd.h>
_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 <edliaw@google.com> --- tools/testing/selftests/safesetid/safesetid-test.c | 1 - 1 file changed, 1 deletion(-)