From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0B9D2C181; Tue, 4 Feb 2025 15:32:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738683172; cv=none; b=llOTJhqkQcV/ZxtJsbOXvxqfOEXWYE2ALvICofB0pCwAbgoHjCkjAlzlE5uL1qzL+vkrt7XNCAJoG+fA16/Z5BcQEj6OpdxMljP4sUdEqPnlND1YbiiVmiV8fQXRvOHSyS1WPmPCY6BuhKFIljBDuP7m9vjDeGiEwqPCQ/oZWmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738683172; c=relaxed/simple; bh=t5Icv/egWFWC1O7kdkqXcuCy+zTPnRHYnBNIpbWlwKU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VmT4CdEeJcDIQiDcnIeVFrsIosoRspLRh6qQ/37qjGVDjc/qHqlhnS2QgJOlNJYBLZ/35PSyw5jkm5zoETAYy5ktGIBUS3WzURMDKMmbUFsOmb7cPOfp7jKJisrtv62R/2HJbdu09tGQn+cTGsEcrC5ax8DNpQmM0AvcJ8aE2u4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k7szBf3V; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k7szBf3V" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12F22C4CEDF; Tue, 4 Feb 2025 15:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738683172; bh=t5Icv/egWFWC1O7kdkqXcuCy+zTPnRHYnBNIpbWlwKU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k7szBf3VutI8Zn4KWc/GABlxX69lW22g6d8O0pa33kon7yAq+iVf584YyNVKBl1fD aKvKukH3pOThyOn0pWjWKBGmhAv+F7oxGc/D4zBliZ6KKRTCZ8FA0KCZnGRuUNrum7 x4X89ohiyoDzrS+9f9lzZqTy278LnbgW3GsRzCWI+cZXobOXg1bqyAYcv6yrk3FJbu RIm6V65RSqx8HRyz/yMVn9Zsws8eAXrbY/l5qE8NuQNXrcgwdKDTKJnXqBl1mSvy9Z /w5y8hPbtRp5M8C5EPbuRyAa6j1AWjni3f6DoSLI6JTJbxdjPOIjPwRB3T4l7mXDVY IMpWFMB2lS8ZQ== Date: Tue, 4 Feb 2025 07:32:49 -0800 From: Kees Cook To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Eric Biederman , Shuah Khan , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH 03/16] elf, uapi: Add definition for DT_GNU_HASH Message-ID: <202502040732.5C39B05@keescook> References: <20250203-parse_vdso-nolibc-v1-0-9cb6268d77be@linutronix.de> <20250203-parse_vdso-nolibc-v1-3-9cb6268d77be@linutronix.de> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250203-parse_vdso-nolibc-v1-3-9cb6268d77be@linutronix.de> On Mon, Feb 03, 2025 at 10:05:04AM +0100, Thomas Weißschuh wrote: > The definition is used by tools/testing/selftests/vDSO/parse_vdso.c. > To be able to build the vDSO selftests without a libc dependency, > add the define to the kernels own UAPI headers. > > Link: https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/libc-ddefs.html > Signed-off-by: Thomas Weißschuh Reviewed-by: Kees Cook -- Kees Cook