From owner-freebsd-current@FreeBSD.ORG Fri Sep 21 17:49:30 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7903716A41B for ; Fri, 21 Sep 2007 17:49:30 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outN.internet-mail-service.net (outN.internet-mail-service.net [216.240.47.237]) by mx1.freebsd.org (Postfix) with ESMTP id 342D813C46A for ; Fri, 21 Sep 2007 17:49:30 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Fri, 21 Sep 2007 10:38:16 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id B1081126473; Fri, 21 Sep 2007 10:38:15 -0700 (PDT) Message-ID: <46F40188.4060408@elischer.org> Date: Fri, 21 Sep 2007 10:38:16 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: John Birrell References: <6385B28C-01D1-459A-9543-E36C89C7F36E@xview.net> <20070920203413.GA13737@what-creek.com> <46F367E0.4000300@freebsd.org> <20070921070347.GA17990@what-creek.com> In-Reply-To: <20070921070347.GA17990@what-creek.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Darren Reed , Olivier Warin , freebsd-current@freebsd.org Subject: Re: Dtrace port status 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: Fri, 21 Sep 2007 17:49:30 -0000 John Birrell wrote: > On Thu, Sep 20, 2007 at 11:42:40PM -0700, Darren Reed wrote: >> John Birrell wrote: >>> DTrace consists mainly of kernel modules, however in order for DTrace >>> to inspect the kernel internals it has to have some code inside >>> existing BSD licensed files. >>> >> This should not be a problem. >> Code added to BSD licensed files should be BSD licensed. > > Only if it is clean-room coded. > > In the case of DTrace, the only reference is the OpenSolaris > CDDL code. It's hard to claim something as BSD licensed when > all you are really doing is adding stuff like: > > (part of struct thread) > uintptr_t td_dtrace_pc; /* DTrace saved pc from fasttrap. */ > uintptr_t td_dtrace_npc; /* DTrace next pc from fasttrap. */ > uintptr_t td_dtrace_scrpc; > /* DTrace per-thread scratch location. */ > uintptr_t td_dtrace_astpc; > /* DTrace return sequence location. */ > u_int64_t td_hrtime; /* Last time on cpu. */ > > Sun still claims CDDL on snippets as simple as this (because the > reference was CDDL'd). > > I had hoped they'd just say "that's OK to be BSD licensed". > > But, no, their attitude is that FreeBSD can just suck up Sun's > patent clauses in the CDDL. > > I could just change the field names and re-arrange the words > in the comments to make it look like I thought of it. But if that's > OK by Sun's lawyers then they are just stupid. If they were to ask > me in a court of law (in a proceeding like the ones SCO has > been in), what would my answer be? Answer: I read the OpenSolaris > code which is CDDL'd and I worked out what I had to add to FreeBSD > and I added it. With vi. :-) they can't copyright the names to the variables. you don't need the same comments. Personally I thing they wouldn't have a leg to stand on.. sounds like "fair use" to me. > > > -- > John Birrell > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"