From owner-freebsd-current Tue Dec 15 15:38:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13620 for freebsd-current-outgoing; Tue, 15 Dec 1998 15:38:04 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13615 for ; Tue, 15 Dec 1998 15:38:02 -0800 (PST) (envelope-from lists@tar.com) Received: from ppro.tar.com (ppro.tar.com [204.95.187.9]) by ns.tar.com (8.9.1/8.9.1) with SMTP id RAA06787; Tue, 15 Dec 1998 17:18:04 -0600 (CST) (envelope-from lists@tar.com) Message-Id: <199812152318.RAA06787@ns.tar.com> From: "Richard Seaman, Jr." To: "Nate Williams" Cc: "current@freebsd.org" Date: Tue, 15 Dec 98 17:18:03 -0600 Reply-To: "Richard Seaman, Jr." X-Mailer: PMMail 1.92 For OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Linux Threads patches available Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 15 Dec 1998 15:53:03 -0700, Nate Williams wrote: >Is this code GPL, or BSD copyrighted? If the former, then it can't be a >'normal' part of the kernel. It also has alot of implications for the >many vendors who use FreeBSD as an embedded system. The kernel patches are not GPL copyrighted. They're just patches to the existing FreeBSD kernel without any additional copyright restriction. Perhaps I should have added that I think the kernel patches included here, or something like them, will be needed with just about any "kernel threads" implementation. The patches allow kernel threads signal handling to move much closer to the posix requirements, but doesn't quite go all the way (linux doesn't either at this point). The patches also implement the linux "clone" call using rfork, and make changes to the linux_mmap and linux_wait calls in the linux emulation module. However the Linux Threads code is GPL copyrighted. The additional code provided in separate files needed to get the port working, is not GPL copyrighted. However, none of this code goes into the kernel, its all in a library. I know the GPL on the threads library is a drawback. Earlier I offered to try to implement a "one-to-one" kernel threads library by extending the current pthreads code, but almost all the comments I received were that people wanted something other than one-to-one kernel threads. This was beyond my capabilities and interest. When Brian Feldman posted his patches, which were close to working, it appeared to me that a port of linux threads could be a "quick fix" for kernel threads, while someone, eventually, does the real thing for FreeBSD. Its one-to-one kernel threads, but there's not much that needs to be changed in the threads library itself. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message