From owner-freebsd-current@FreeBSD.ORG Mon May 26 13:56:54 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0401D37B401 for ; Mon, 26 May 2003 13:56:54 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id E205543FAF for ; Mon, 26 May 2003 13:56:52 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h4QKuqwk054332; Mon, 26 May 2003 13:56:52 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h4QKuqCO000778; Mon, 26 May 2003 13:56:52 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h4QKuoVG000777; Mon, 26 May 2003 13:56:50 -0700 (PDT) Date: Mon, 26 May 2003 13:56:50 -0700 From: Marcel Moolenaar To: "Matthew N. Dodd" Message-ID: <20030526205650.GA579@dhcp01.pn.xcllnt.net> References: <20030525084629.R30007@sasami.jurai.net> <20030525222955.GA826@athlon.pn.xcllnt.net> <20030525190744.A86964@sasami.jurai.net> <20030526001924.GA1272@athlon.pn.xcllnt.net> <20030525202140.Y86964@sasami.jurai.net> <20030526053120.GB1941@athlon.pn.xcllnt.net> <3ED1DA6A.E794010@mindspring.com> <20030526052119.O86964@sasami.jurai.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030526052119.O86964@sasami.jurai.net> User-Agent: Mutt/1.5.4i cc: current@FreeBSD.ORG Subject: Re: Preliminary ELF prebinding patches available. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 20:56:54 -0000 On Mon, May 26, 2003 at 05:31:30AM -0400, Matthew N. Dodd wrote: > A few things before we have the SAME thread that the NetBSD folks had a > few months ago. > > 1. Storing the prebinding information in libraries/executables, while > highly desirable, is not practical at this time. You previously said that it would not work. Now it's just impractical. Also, it suddenly is highly desirable, while previously it was not even an option (because it wouldn't work). Is this your final position on the matter? > 2. The BUILDID information (time() + random()) and filename is sufficient > to reduce the chance of a collision to nil. It's highly flawed. Use UUIDs. They are less flawed. > If you'd like to argue with me about these statements I'll entertain those > discussions off the list. For now, lets just accept them as given. No deal. Demonstrate proficiency and I might give you the benefit of the doubt. > What is relevent is the transformation function I use on the BUILDID and > filename may result in collisions; I'm open to suggestions on this one. Do not transform. Use the UUID in the executable as the name of the cache file or put the prebind information in the executable itself. The latter is highly desirable (as you say) and the impracticality of the approach so far seems to be based on time and joy and not on technicalities. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net