From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 25 09:01:39 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F400106568F; Mon, 25 Jan 2010 09:01:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0B39E8FC1C; Mon, 25 Jan 2010 09:01:38 +0000 (UTC) Received: from outgoing.leidinger.net (pD954F71F.dip.t-dialin.net [217.84.247.31]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id AAF7184403B; Mon, 25 Jan 2010 10:01:33 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 52A3A2368E8; Mon, 25 Jan 2010 10:01:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1264410090; bh=8NKoL/FzkYQxXFL58kSspVx4xLF9qJmyZu1WUtDn/PY=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=UXPw+0faSETtOZ1bpSjA/Tj/akGTWBApWpu1UjclWylPYPIGy1hLPJNIX6m6uSHHe 1q8sgRJac2P3pfdcDs5fYS762h3DTJCnd1WmeH8eaQ5sYLXrLk8Rbz99yl2PJjQA2Y jrfDQI0CaiWzOC3u1oQianBD2dCKKlEt5VA6R32wQki7+nShO9YW/baqbGqzug2L0N FZ9fAISmOn/q/tHieHqvzihuzFMy9NxsMjKQWot1R5O36BfS0S/3RZcKbx5b/BqFZo t7QENt4eHmhGs23MD6Ws0uR/sAnALMDoH0fh2rBpQeJdGAG6w6Qxu/zDl2lGUTtPyF Y1ByoPIle/Ffg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id o0P91TG0044242; Mon, 25 Jan 2010 10:01:29 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 25 Jan 2010 10:01:29 +0100 Message-ID: <20100125100129.92067vdtphv8owes@webmail.leidinger.net> Date: Mon, 25 Jan 2010 10:01:29 +0100 From: Alexander Leidinger To: Doug Barton References: <20100123133419.GI59590@deviant.kiev.zoral.com.ua> <20100123150817.GJ59590@deviant.kiev.zoral.com.ua> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: AAF7184403B.3C720 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-0.84, required 6, autolearn=disabled, ALL_TRUSTED -1.44, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, J_CHICKENPOX_51 0.60) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1265014894.51327@dioTt3NdcQktrXmdUk65Kw X-EBL-Spam-Status: No X-Mailman-Approved-At: Mon, 25 Jan 2010 12:33:07 +0000 Cc: Kostik Belousov , Alexander Best , freebsd-hackers@FreeBSD.org Subject: Re: [patch] extending/completing brandelf's OS knowledge X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2010 09:01:39 -0000 Quoting Doug Barton (from Sun, 24 Jan 2010 21:29:42 -0800 (PST)): > On Sat, 23 Jan 2010, Kostik Belousov wrote: > >> I do not see a need for such rudimentary ELF editor in the base at all. > > So, perhaps it's time to move brandelf out of the base? And if so, > perhaps Alexander's contribution could be incorporated into a port > for it? Personally I do not see a reason why his work can not go into the base system. From a feature point of view the patch is giving brandelf a little bit more freedom what it is allowed to change. When I look at what I do/did with various tools in FreeBSD which where not intended to be used like this but where useful in some cases, I do not think we should enforce the policy to allow only stuff in brandelf which we are able to emulate. >> After the work of dchagin@/bz@, brandelf is needed only for the corner >> cases, if at all. > > Hmm, I was fooling around with some linux'y stuff the other day and > needed to brandelf it (don't remember what, obviously wasn't that > important). :) > If this happens again in the future, is it worth reporting > somewhere? (-emulation@ ?) If it was to brandelf a static linux executable so that the FreeBSD system does not reboot when executing the static linux executable, then I would say it does not need to be reported and we still need brandelf in the base system. If someone says that exactly this case has been fixed recently: it would be great to hear on emulation@ about cases where brandelf is still needed. Bye, Alexander. -- Ferengi Rule of Acquisition #217: You can't free a fish from water. -- ST:DS9, "Past Tense, Part I" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137