Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp664812lqo; Fri, 10 May 2024 10:45:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgvBZmjfkMtOPMwvRbS8ZsifaTHq3peJflAATYKUFjo25jz45/R+6kXLfgPo2v7T66/XE9/O0bKLonCIMoOq6IKQjJ3H2cYX44zhtXEg== X-Google-Smtp-Source: AGHT+IHYT5ucBkk3oapVUeZJHl1JYOFiAhh2zeqkxneEGbb5Mc2gpOxiRFWpnXukxjYKXKj619xO X-Received: by 2002:a17:907:9455:b0:a59:b88c:2b2a with SMTP id a640c23a62f3a-a5a2d66a7cdmr276318766b.50.1715363118526; Fri, 10 May 2024 10:45:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715363118; cv=pass; d=google.com; s=arc-20160816; b=gwwbECHDrow30rSvN70DlS2QRoHrS9Wno2AsEMeQF1J1b6gRpsDbqvilxJV40LNZwN ZGGTpQb0UPO7wGkQdS/zZFKam6BuvWuwh19Sfky+1EJMCqrT1O4DpY5dp/FfUmy5lfV3 56nwFkXYlZj0YWQDkRWUfmpb01iJBFRW8f13OUiXCkEXa3I90WxQ2t0/2dj+T5Sk6Og9 PqFqTFmwLf6zOC0VJumNVj7fR98fcs0cTUEmyGVAUF8nYF6gsnvuXAtaSZBFd1JuZJQG qo9c6sz3TA6RCbheTMtzW7cg6PdF6GGmvjL2+ZJKKYo3FB8H3Iw9lPcgUtgef/ddNK5A MwJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RH25751FQUD9IraRYi3Ng4hTjnmqYgAtJrim8UnR4Lw=; fh=n1VZp6ticDR2IZj/VyPu/+Yz0CRPZiwod2nz9lEuNaE=; b=EIviDVWKq7fBVXsGIBro5XWt/MsYVhYyaMD//cc/7EUVTC2OIQDyjDuRO9hmMbamNz DkF7AtPNX7R9J3GbD34DMR6fyT/Pb3iJTMPKxZUm6uEIpswy+V/76jmDnnpTTAefXnMB QH8zkFHL9mHYrfuRy/49w1MlFlArab/W47j0tD18+YKFVhU4Ddp2wUy0Ex5n5rjmRYps t4Z1DralUPY8r41ognHBa900+OxZXZbxnycatsHf9SwfpKMkXrIxRqSSgnJCyS0DD3O4 3CN/tdYu2WKleMXQTj8WzGfWFkfWgmtiiv0JNCIRwn3beewRVjbwwKhDR0C/kzWX4qs5 TKFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jfuFEdBq; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-176063-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176063-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17b21e9esi231299266b.359.2024.05.10.10.45.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 10:45:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176063-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jfuFEdBq; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-176063-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176063-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 39FBB1F21C80 for ; Fri, 10 May 2024 17:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C980222F19; Fri, 10 May 2024 17:45:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="jfuFEdBq" Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 B9A581BDD3 for ; Fri, 10 May 2024 17:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715363105; cv=none; b=gDO1e+bAosFZ54a6nf9Z+dPN2V7IHrdddOWgWG6mdDOabeNhILcRNVdFgFWG6xsyMX25upIsyAF4Vpys32w+3bQHKt1GIDl39K9FobILhwnEO5ceZQpue0EFdeD0iKNX2Zjyhg3+SXcY5SBdrvQZPiAEE/8vG4WtnG/W3xt60Sw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715363105; c=relaxed/simple; bh=77jCAZN4T1MnK/eg9Dn9s0HYNi5Gbz3bp+wgywtPJ8U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q5L0cIHeYols9wm02m9xLE16euOsUcve4R6divldA+CPxadT8I5Us4HCe4Ml37N+RfARACh+pJr3Zh5GTRSQpPEgvGUOK5+PU6/mHTSZHcnowy1R9az+WlvJn40KypUiCHDhVb3Gem4jWtzzzuqqaCGZHrUxvVoTLTbYjKguDoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=jfuFEdBq; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6edc61d0ff6so2051626b3a.2 for ; Fri, 10 May 2024 10:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1715363103; x=1715967903; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RH25751FQUD9IraRYi3Ng4hTjnmqYgAtJrim8UnR4Lw=; b=jfuFEdBq40eHLbgJonwdgyHWGexUVHfl/U2WW3h9qOJOjLZNjcnA4rmlz3LsW3PY9l lLHdaQ/U7kZ89eZzT6755BvDnteknBtwwOq7Ax64FoSWW4B+//LtSTSThtqsdIR8FVtB 2SCa3WkY0z3T2hVv21Ck9YMQUsl+7up5H4s4k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715363103; x=1715967903; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RH25751FQUD9IraRYi3Ng4hTjnmqYgAtJrim8UnR4Lw=; b=djptZWIkEO7osh2hGHg3kjP+UJZ4+sVVTNFtHy/SLFVBojFyqldYv/uAR1pTlobyab UNWqXC6Q9oz8EY8nJdhLOl6kyC4xvzQqKG/0O8MKmTe2+bGpGn94L/3P1W2Jn6WGCoLh xKkdJ7xuo65z7/dK+lriwsn83WUdgAeA3zT6DlVyms/24kHgfFsYkT7jcZRSjYL1nk3p pEUDBUdWyMXMP2T0XTwjsP8CkxkQCGh5C4AxPnE0B382ZB8vTNJMpjl4zxLoiMbmNboy BhMDxLf2Jdru1Yv3cLH0F6lJ814HVzj3tdPgCy4IK3Q0ATyx+P3Es0llfgctXayVte6w ZdSw== X-Forwarded-Encrypted: i=1; AJvYcCWGlTaZluAv1L6qxzUwnhJfRM6II4/bmj6CfHGiVhEtABnWbyY3nFXQQh4cVmbGdngkLOI1/h7+cMvboQt0eOGWABSsuTkuxNx0T+VB X-Gm-Message-State: AOJu0YwjybRnpFsVgZLkghuRu0o+BufzcZdO29Xh+IElimKQ9nTFPdya Fkm7mI7kCbaSfvWccN3o8/dA4Fuadq8s87qTr+qBKTP2ob2a+33G4oN0KTK8Rg== X-Received: by 2002:a05:6a21:3405:b0:1a8:e79a:2b0a with SMTP id adf61e73a8af0-1afddf036eemr3785881637.0.1715363103156; Fri, 10 May 2024 10:45:03 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-6341134706asm2937275a12.86.2024.05.10.10.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 10:45:02 -0700 (PDT) Date: Fri, 10 May 2024 10:45:02 -0700 From: Kees Cook To: Edward Liaw Cc: shuah@kernel.org, =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , =?iso-8859-1?Q?G=FCnther?= 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 , Andy Lutomirski , Will Drewry , 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, John Hubbard , Muhammad Usama Anjum Subject: Re: [PATCH v4 55/66] selftests/seccomp: Drop define _GNU_SOURCE Message-ID: <202405101044.DB260BB@keescook> References: <20240510000842.410729-1-edliaw@google.com> <20240510000842.410729-56-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240510000842.410729-56-edliaw@google.com> On Fri, May 10, 2024 at 12:07:12AM +0000, Edward Liaw wrote: > _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent > redefinition warnings. > > Reviewed-by: John Hubbard > Reviewed-by: Muhammad Usama Anjum > Signed-off-by: Edward Liaw Acked-by: Kees Cook -- Kees Cook