From patchwork Fri May 10 00:07:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660669 Received: from mail-yb1-f201.google.com (mail-yb1-f201.google.com [209.85.219.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 5195613D53A for ; Fri, 10 May 2024 00:11:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299900; cv=none; b=dExEv05xKNnOOxHvNlSoNHb5tPcPrjuj2JRnVoyV+mutiLtEdSfJllS3Ax/QGqsBkb1hTJeuJnRKDlKE4W8RzjRaSfX0+Sa8JqvEMbOaObzvO7vJqy8VtifD/+JhF7tzwwqONUnlW/GGVswYTAa+Pc/j/rvKGsxvaOvvSfttHz8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299900; c=relaxed/simple; bh=JvbDWxGt73x+3I5wycvjFh+GG2YkBR1D3FMaXjgEOUM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=taaOLPQjqp1cfXudxysMmqyG0M09rpiXs/y0l4nPHXFQD14yo68vBy0xdSh8LdGKbNfbanu3Ulb5tIHjolajv3sgwqpad5Q8UUPlHZJH3L1w4/Rmz2WRTvCtJPkCYjBaudJlF3BnCdGIKSw7X7f6T7eWEXMwBmbvlHx2WB4KwEY= 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=QP679QKJ; arc=none smtp.client-ip=209.85.219.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="QP679QKJ" Received: by mail-yb1-f201.google.com with SMTP id 3f1490d57ef6-de617c7649dso2181089276.0 for ; Thu, 09 May 2024 17:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299898; x=1715904698; 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=0WWgoFurwAg8h9SR6wezGd5h5K+Y3bRntTGdapCnYLQ=; b=QP679QKJ+YJmUJRm34oeIG2z2fV+eM5+XdTrCwfV3+3XDob7WXz7VcW2vVJIl+ymif DtsIA/CliHTTsjmF5m0TikO7867fp+6gSTDWNVuL3FFExEU3lt/9RU9o82DqKRskInMw OUFYnwG/v9PfiyXeX5L9a3L/9VCdD2SY/k6Vd6j6Uk2h3tmyZSBVROJ0UxTUuA46x5zY sD3BGmKGBS535ty0/EQJhQEGQZ2DYWvrLvXb4IVftMe7RDGttpOuusFpaCgbrQ/EDJyl UGhvFjlABNB2orh/7PnnVebuPNvOjyXbkW4MeLCVvvFpXQM2O4n6Aevfb5DeH5PnK799 WzvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299898; x=1715904698; 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=0WWgoFurwAg8h9SR6wezGd5h5K+Y3bRntTGdapCnYLQ=; b=Lswgrro7dchS3z2cb3zvAOMFtabHxPIBBTBQgb5ZwjruTVN9l4XL+HAXd+LgPYuAH7 i3q48fhgkKTiogyFt4cYfoh6G7Mok289nUGpG7dgsYT95OiWLd7DCJTqbL2dVl92Ks5N vs9wuGmd5XVTRQDIosoo7xQz5kWBze0ckW1VqFjYU01b+3r5j0Leg55oa3NWrVaX59rl Wi9PRZa//C/sombi8GsZWPtnEoTf3BxKcT/nynUjoQnmHgYmC11tZSe1AnLhtP01qjAr L2Bl7Ifdou14j/94+YlU4BGE2t0GNMwI2VNaoCqjvDbWzMK42c6cAsWQIexWUFthHvN4 pc1w== X-Forwarded-Encrypted: i=1; AJvYcCUc18wwWiyFIpHCySVBeBhyw5AgJ3tEeHqJWnUyZa0x5WiSvkiXvgVh+DJNjWGMF8awAEAjhk22h24sJOM4Ln9yLCKsLF9ojKVXGLeV+U7vWht1xFD9 X-Gm-Message-State: AOJu0Yx4fHETyolszBuIGs35jnCWUXyQQo7fVk5xX/4oincTkniR50tM c3z1nZhATshlixfUHWlx85NW3HWcp/q0EUze/YFFgASE+w7ppOMG2h4xNj0m82/2SJ4X8d9hM3f ovA== X-Google-Smtp-Source: AGHT+IHvqoyfuJd+zpWyzRtMJpM3tPkSIvIsjPanUafDlQuCX9siiHmpPTAd92EjaLgk71HiYZjK7/db9Q4= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:b31a:0:b0:de4:64c4:d90c with SMTP id 3f1490d57ef6-dee4f4fb5bdmr99366276.12.1715299898422; Thu, 09 May 2024 17:11:38 -0700 (PDT) Date: Fri, 10 May 2024 00:07:10 +0000 In-Reply-To: <20240510000842.410729-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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-54-edliaw@google.com> Subject: [PATCH v4 53/66] 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 _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