Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1012950ybp; Fri, 4 Oct 2019 08:19:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXix0VEJkM/01h+5nU4q3XitSZO2zHRk3Fy8z2G5kB15sYy10/l/SmJ45/9kWbENKkwUnb X-Received: by 2002:a17:907:411d:: with SMTP id nw21mr12736483ejb.8.1570202369646; Fri, 04 Oct 2019 08:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570202369; cv=none; d=google.com; s=arc-20160816; b=W/zwQIQcnd1HmhShttrhYLJ9T6QmlVDw04v01WpfWSZFrUnJ8HPVKQPi4Gd1MAwFnz rJovtOi6F7C82F/t8YgFdC7nSMASkS+K5pfdYfFp7wKXfjHiCU5uAFtovV8pPbI+5+sH mEKle6PXmM8pD3v8TIqyhLAvWjwx10YsGfGAIWyVS+H0SlZWDmGKD1le3+6yLS+/HUPR Uk4a1nU1zhp/pfecZrUxTbby6t4KURezxVw9uPIOMY05AsYioavBgwzwAPMFXSzXqpdK JNBmTMW4g+VVOTR7ewEXvfBoNvbE8EjL1OnDaESgJpGGFpViKuZ99y0cuYvlm7pO/ObM CuuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TfziY2SZxkjH5eTXyGfIulfPZ0GrrDnAUFj93h8H46A=; b=kv3DjJvWdVhqNQo5cEjidogBIEnlKk8Qzld1XUW9Mpyy91XLibYbG97TKBfOm692XA wk0z6uJTR3vw9LHNZ+MEjzrn4Y2c6F/4rV85MjTGtMWtf+g1gNDIDHDwQUiXQ+ya18JX HcXLOVOzaYjJgCg6901Uxh8t9e3eZN/ZDYsCDwGV6n6aZ/WqLhGj6FFe0peiy7bcur7m aSZHg0Ct1AJnPTkwfSx+R6XTwJgRoOZPL2pFvbQ1YDwcgi3qcogF6HXxIGCTKdCZn1wP OcmqrlkD/iHxGklfOoDOAZ0SBd3JrEz6uJiwZo0NgR3nou3Izz/IADyilc9s7Jf37ySt r/iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Qi9XBSfo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si3784530edc.67.2019.10.04.08.19.05; Fri, 04 Oct 2019 08:19:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Qi9XBSfo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389714AbfJDPSu (ORCPT + 99 others); Fri, 4 Oct 2019 11:18:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:54856 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388802AbfJDPSu (ORCPT ); Fri, 4 Oct 2019 11:18:50 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 59578207FF; Fri, 4 Oct 2019 15:18:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570202329; bh=wUmIZgOi316Gx1c2Bgu9pvkNvahIooD2MgUXDmA5RtU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Qi9XBSfoMPqAVRBYg8Qr1gIRO9VpSMjZ/mfmIETJM+N8uvj/ZWodO8WaZakrWFIHx Fx7rHcpK9URzfLFL2dK381p7oI8kV4wdTVUZMz/sADhCn7S6ozKeToPU1Gnodps/Gi 5sIK3vYaUasAbLl/vitlX77/hUfE70qke3KJf2as= Date: Fri, 4 Oct 2019 17:18:46 +0200 From: "gregkh@linuxfoundation.org" To: Dmitry Goldin Cc: Masahiro Yamada , "linux-kernel@vger.kernel.org" , "joel@joelfernandes.org" , Ben Hutchings Subject: Re: [PATCH v2] kheaders: making headers archive reproducible Message-ID: <20191004151846.GA760679@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 04, 2019 at 10:40:07AM +0000, Dmitry Goldin wrote: > From: Dmitry Goldin > > In commit 43d8ce9d65a5 ("Provide in-kernel headers to make > extending kernel easier") a new mechanism was introduced, for kernels > >=5.2, which embeds the kernel headers in the kernel image or a module > and exposes them in procfs for use by userland tools. > > The archive containing the header files has nondeterminism caused by > header files metadata. This patch normalizes the metadata and utilizes > KBUILD_BUILD_TIMESTAMP if provided and otherwise falls back to the > default behaviour. > > In commit f7b101d33046 ("kheaders: Move from proc to sysfs") it was > modified to use sysfs and the script for generation of the archive was > renamed to what is being patched. > > Signed-off-by: Dmitry Goldin Reviewed-by: Greg Kroah-Hartman