From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 2/2] hvmloader: remove timestamp from vgabios Date: Tue, 3 Feb 2015 16:23:01 +0000 Message-ID: <54D0F5E5.9070605@citrix.com> References: <1422978845-5908-1-git-send-email-olaf@aepfle.de> <1422978845-5908-3-git-send-email-olaf@aepfle.de> <54D0F202.2070209@citrix.com> <1422980326.9323.123.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1422980326.9323.123.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Ian Jackson , Olaf Hering , Stefano Stabellini , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 03/02/15 16:18, Ian Campbell wrote: > On Tue, 2015-02-03 at 16:06 +0000, Andrew Cooper wrote: >> On 03/02/15 15:54, Olaf Hering wrote: >>> Including a timestamp into the binary makes it impossible to get >>> reproducible binaries. Remove the timestamp because it carries no >>> valuable info. >>> >>> Signed-off-by: Olaf Hering >>> Cc: Ian Jackson >>> Cc: Stefano Stabellini >>> Cc: Ian Campbell >>> Cc: Wei Liu >> In this case, it would appear that the vgabios_date symbol is completely >> unused inside the binary. Good riddance! > I think it is actually used because the string at vgabios_version > (deliberately) falls through. Oh - so it does. (I misread that as an .asciz). > > Olof, you just removed the nul terminator used there AFAICT. At best > this means that the vgabios_copyright is printed twice. In which case the 0a/0d and NUL characters need to stay, although the single space above vgabios_date can be discarded. ~Andrew