From owner-cvs-all@FreeBSD.ORG Fri Aug 4 16:14:59 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B279F16A4DA; Fri, 4 Aug 2006 16:14:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 456E343D45; Fri, 4 Aug 2006 16:14:59 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k74GBdr8098538; Fri, 4 Aug 2006 10:11:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 04 Aug 2006 10:11:39 -0600 (MDT) Message-Id: <20060804.101139.71187145.imp@bsdimp.com> To: cperciva@FreeBSD.org From: Warner Losh In-Reply-To: <44D301FE.6030007@freebsd.org> References: <20060804072323.GC89735@wombat.fafoe.narf.at> <20060804074657.GT97316@comp.chem.msu.su> <44D301FE.6030007@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 04 Aug 2006 10:11:39 -0600 (MDT) Cc: src-committers@FreeBSD.org, yar@comp.chem.msu.su, cvs-all@FreeBSD.org, stefanf@FreeBSD.org, pdeuskar@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/em if_em.c if_em.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 16:14:59 -0000 From: Colin Percival Subject: Re: cvs commit: src/sys/dev/em if_em.c if_em.h Date: Fri, 04 Aug 2006 01:14:54 -0700 > Yar Tikhiy wrote: > > Yeah, it's a thing to watch out for. As are __TIME__ and __DATE__. > > FWIW, the following files in 6.1-RELEASE/i386 contain build timestamps: > > /boot/GENERIC/hptmv.ko > /boot/GENERIC/kernel > /boot/SMP/hptmv.ko > /boot/SMP/kernel > /boot/loader > /boot/pxeboot > /etc/mail/freebsd.cf > /etc/mail/freebsd.submit.cf > /etc/mail/sendmail.cf > /etc/mail/submit.cf > /lib/libcrypto.so.4 > /usr/bin/ntpq > /usr/include/osreldate.h > /usr/sbin/amd > /usr/sbin/iasl > /usr/sbin/isdnd > /usr/sbin/isdndebug > /usr/sbin/isdnmonitor > /usr/sbin/isdnphone > /usr/sbin/isdntelctl > /usr/sbin/lwresd > /usr/sbin/named > /usr/sbin/ntpd > /usr/sbin/ntpdate > /usr/sbin/ntpdc > /usr/sbin/ppp > > Of these, I've recently removed the timestamps in /usr/sbin/isdn*, and > dougb has a patch to remove the timestamps in lwresd and named. > > There are also timestamps in all of the library archive files, but those > are required by the archive format, so we can't do much about them. All static binaries on the system, in current, have the entire path to where the source code was built encoded into. This is due to an assert being used in malloc and other code which expands __FILE__, which gives you the entire path. Since we don't compile with -DNDEBUG, we expose ourselves to this. I have in my local tree a knob that allows one to turn on compiling with -DNDEBUG that I didn't have time to integrate before my move. Warner