From owner-svn-src-head@FreeBSD.ORG Thu Mar 3 16:22:39 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEEF8106564A; Thu, 3 Mar 2011 16:22:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A770C8FC1E; Thu, 3 Mar 2011 16:22:39 +0000 (UTC) Received: from lemongrass.sec.cl.cam.ac.uk (lemongrass.sec.cl.cam.ac.uk [128.232.18.47]) by cyrus.watson.org (Postfix) with ESMTPSA id 9735046B8F; Thu, 3 Mar 2011 11:22:38 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: "Robert N. M. Watson" In-Reply-To: <20110303141458.10926vfwryvbcgg8@webmail.leidinger.net> Date: Thu, 3 Mar 2011 16:22:37 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201103011642.p21GgTaH041022@svn.freebsd.org> <20110303141458.10926vfwryvbcgg8@webmail.leidinger.net> To: Alexander Leidinger X-Mailer: Apple Mail (2.1082) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Dmitry Chagin Subject: Re: svn commit: r219138 - head/usr.bin/kdump X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 16:22:39 -0000 On 3 Mar 2011, at 13:14, Alexander Leidinger wrote: > Quoting Robert Watson (from Thu, 3 Mar 2011 = 11:14:59 +0000 (GMT)): >=20 >> On Tue, 1 Mar 2011, Dmitry Chagin wrote: >>=20 >>> Teach kdump to decode linux syscalls names too. >>>=20 >>> Fix bug introduced in my previous commit: the kernel always dump = native >>> signal numbers, so no need to check the ABI in ktrpsig(). >>=20 >> Does this mean that we're eliminating the need for the long-broken = linux_kdump? >=20 > For the linux parts there is (L?)GPLed code in linux_kdump (the main = reason that it is a port, I think), it is unlikely that someone sits = there and will do a clean-room implementation of those linux-kernel = derived things (I like to get proven wrong, anyone out there accepts the = challenge? ;-) ). Dmitry provided an updated linux-kdump which contains = preprocessed things (no need to have a non-default linuxulator setup). I = have the corresponding PR assigned to me, but from his comments it looks = like his new version depends upon his changes and does not DTRT without = them (I am awaiting confirmation, and I asked about changes to let it = DTRT if this is true). On a related note, the solution for handling different OS ABIs and calls = for OpenBSM was to have a file format that (a) expressed a superset of = the capabilities of each platform and (b) attempted to provide common = terms to describe their intersections. This has its limitations, but = works fairly well in practice: you can generally have a single piece of = software that makes pretty good use of BSM streams generated on Solaris, = Mac OS X, or FreeBSD across those platforms and also Linux (on which = OpenBSM compiles and runs, but whose kernel audit stack differs). Robert=