From patchwork Fri May 10 00:07:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edward Liaw X-Patchwork-Id: 13660661 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (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 E701A13B287 for ; Fri, 10 May 2024 00:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299882; cv=none; b=LxUUh73XpqaMYKqtgAHg9lAHYN3hb+FYBUuiYNDadLbH7LFByWOH81rnd8GmYnhhWEqp83Yz2RzUWC8Q/zbONSQEnEgvqBian3UqidUhdZQl7uo5BoB/bOAYgW5zUCfFDivosZjgnbLj0IHoUcE1FgLdD6z6XOr6z9NLRQliSWk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715299882; c=relaxed/simple; bh=9SdZLXa8bOO8qqRm4M0qIy9O0gsnXY10oXqx9sqJBYg=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=LfKkCzLgh0wGJ5SYDXlpnfD/YanMGHkJv0CiNHJTmy/u32yAhtD7qPPZD0yALT4S7Iv6p8caDE+OrN234FHx8aVhd4JFW3xJ39ajZ/sd5BCwERp0RKJ6NitHvuIAMjBsxnbKwi+pTSJPT0UMSnlP5FoIRqR3Z19wCzT/uNDalzM= 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=PCJYiUWS; arc=none smtp.client-ip=209.85.219.202 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="PCJYiUWS" Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-de59ff8af0bso2286391276.2 for ; Thu, 09 May 2024 17:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1715299879; x=1715904679; 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=ZsiI/uc5MiF5hVrzWysDwKaH6OKN5b01GtVR6T+4Ou8=; b=PCJYiUWSDKcZ7b5ZTRYxoRuPu/wGXUWBBoDIoAQEhfLfpWGNfAL5JmkKv+ETj7xx7F eLkIMY/AKbqCiSngQU8h4CHQZFFaJx9dcTVvoMN6zWTmX6VjHYsTHGpG3hIgVgJv2Y3H Z815kk50HeJORYz0zX64evgkNwNF8iMunDDC+H5zdlONOj3vnKVEL+nkj5BCIsTtnEZU W5DRXsgZAiIP6iXmYV4z9dcwRHvlnvnXHq570loyl2/ydNnX4w5UpyrnHhKGbVl1PwLP vacZMjN+tRWZ6ddnm/hO92Yn5oja6EixJtkE4xbFL0G9xn3RNqgMYrbUo1KI7g4kTZPf UpYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715299879; x=1715904679; 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=ZsiI/uc5MiF5hVrzWysDwKaH6OKN5b01GtVR6T+4Ou8=; b=tFd4rkcSB1Xf4vtv2zgjYknLH7KscnyV/Bvyt/s47ZVgiJcd8C0ju4zVhFqj8QO3a2 qnlJ4CyX5vrQ+4nvuVTEj/BMaaVQhLjfF49slcga0K+28P5HzYRRuSFzlvzeXmgSRxrH K36cOM82jCgdtroZ5ogzQElYMR+RLWiCI8ppWfBAOJN9Nqfu9Vc1lhaOve1tBTEZtBBB Cf8I2UJBjZjhQiPktGvvT/quxTac5YuC34UAx4PxPZtnJI+JDuSnrzggim7279VTitoV ViZsFDbbpZ1so9aohYZ0S2cEEUkOmHUFg4u1jUwd+kMOQiJQgiIxK8rzfJqfKTV9GAMv OMkQ== X-Forwarded-Encrypted: i=1; AJvYcCVYQbgj/Hw5IztpnvAC0RBHdzfZvhfGtW6N/xTMeJHo9sTcq/ujjqK68roIXNtZ45htt2KFhg77elTebuGfologdU3f/21yH6KXCU7R1OAI6cNQ8X9k X-Gm-Message-State: AOJu0YxZS9mhhljMeMu8eJKkY5Uqu0pQZgI+yCLkmJCEVIZPDuY3uR6q giZUZUBvtGWUg8/RTAOa2jeRy1cWpVuIScfVhtimifSexocw5b3HWjAC/wSRNu6FWJSKJxJ9Hxa Mxg== X-Google-Smtp-Source: AGHT+IE5lK4O5tKmIABh+/0fZfzUGpesvK3r0yQsigzHVYkbLRrBgnWaOZUctD25gmyF5UaK8CUOK4LhdqQ= X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a25:a1e3:0:b0:dda:d7cf:5c2c with SMTP id 3f1490d57ef6-dee4f365eb8mr105581276.13.1715299878998; Thu, 09 May 2024 17:11:18 -0700 (PDT) Date: Fri, 10 May 2024 00:07:02 +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-46-edliaw@google.com> Subject: [PATCH v4 45/66] selftests/proc: 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, linux-fsdevel@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/proc/proc-empty-vm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/testing/selftests/proc/proc-empty-vm.c b/tools/testing/selftests/proc/proc-empty-vm.c index 56198d4ca2bf..f92a8dce58cf 100644 --- a/tools/testing/selftests/proc/proc-empty-vm.c +++ b/tools/testing/selftests/proc/proc-empty-vm.c @@ -23,9 +23,6 @@ * /proc/${pid}/smaps * /proc/${pid}/smaps_rollup */ -#undef _GNU_SOURCE -#define _GNU_SOURCE - #undef NDEBUG #include #include