From owner-freebsd-current@FreeBSD.ORG Wed Nov 22 17:36:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D86E716A625 for ; Wed, 22 Nov 2006 17:36:09 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw4.york.ac.uk (mail-gw4.york.ac.uk [144.32.128.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69DEC43D49 for ; Wed, 22 Nov 2006 17:35:39 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw4.york.ac.uk (8.13.6/8.13.6) with ESMTP id kAMHa1Cv010784; Wed, 22 Nov 2006 17:36:01 GMT Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.6/8.13.6) with ESMTP id kAMHZtx7021001; Wed, 22 Nov 2006 17:35:55 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.6/8.13.6/Submit) id kAMHZnx7021000; Wed, 22 Nov 2006 17:35:49 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: Kris Kennaway In-Reply-To: <20061122165735.GA37930@xor.obsecurity.org> References: <2b22951e0611212109t69b01400q5eb0ba15b028ce68@mail.gmail.com> <20061122051359.GA42639@what-creek.com> <20061122165735.GA37930@xor.obsecurity.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 22 Nov 2006 17:35:49 +0000 Message-Id: <1164216949.18579.19.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: "Cai, Quanqing" , John Birrell , freebsd-current@freebsd.org Subject: Re: KDTRACE is gone? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 22 Nov 2006 17:36:10 -0000 On Wed, 2006-11-22 at 11:57 -0500, Kris Kennaway wrote: > On Wed, Nov 22, 2006 at 05:14:00AM +0000, John Birrell wrote: > > On Tue, Nov 21, 2006 at 09:09:21PM -0800, Cai, Quanqing wrote: > > > Today when I tried to compile my customized kernel, I run "config" > > > command and got this: unknown option "KDTRACE". > > > > > > Who can tell me what's going on? > > > > The KDTRACE option can't work the way I intended it to because > > of licensing restrictions. > > By which John means that it could easily be included in FreeBSD under > 'options KDTRACE' as before so that users could actually use DTRACE in > FreeBSD. However, it can't be included in GENERIC since the policy of > FreeBSD is and always has been that GENERIC is a BSD-licensed kernel. > With John's preferred change GENERIC would become under the CDDL. I think this is a shame - having used DTrace under Solaris a fair bit, it's great to know that it is always available. Often, the times I find I need it are exactly the times when I can't reboot to add it into the kernel. I haven't looked at the DTrace code at all - how much code does KDTRACE add to the kernel? Is it possible to write a specification for the code and have somebody else write the kernel parts, like has been done with GPL code in the past? [ I'm not volunteering, I'm just asking if it _could_ be done ] Gavin