Subject: Re: Why no /usr/include/sys/kthread.h?
To: Frederick Bruckman <>
From: Jason R Thorpe <>
List: tech-kern
Date: 06/04/2000 21:34:50
On Sun, Jun 04, 2000 at 11:03:27PM -0500, Frederick Bruckman wrote:

 > That's a little over my head. If anyone else want's to pick that up,
 > it looks like only a partial implementation of clone() would allow
 > "wine" to work. The clone() form of SYSDEPS_SpawnThread() only sets
 > the flags CLONE_VM|CLONE_FS|SIGCHILD, and CLONE_FS is only used to
 > make chdir() visible to fellow clones. It especially doesn't call for
 > sharing the file descriptors (CLONE_FILES).

We have all the kernel support for __clone().  It just needs the syscall
stub added.

        -- Jason R. Thorpe <>