From owner-freebsd-hackers Wed Jun 4 11:02:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA14895 for hackers-outgoing; Wed, 4 Jun 1997 11:02:19 -0700 (PDT) Received: from ads.genrad.co.uk (host5-99-3-2.btinternet.com [195.99.3.2]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA14806 for ; Wed, 4 Jun 1997 11:01:30 -0700 (PDT) Message-Id: <199706041801.LAA14806@hub.freebsd.org> Received: from host5-99-3-3.btinternet.com [195.99.3.3] (HELO localhost) by ads.genrad.co.uk (AltaVista Mail V1.0/1.0 BL18 listener) id 0000_002a_3395_ad5e_0819; Wed, 04 Jun 1997 19:01:02 +0100 Reply-To: From: "Robert Swindells" To: CC: "Borja Marcos" Subject: Re: Linux clone() system call Date: Wed, 4 Jun 1997 16:57:20 +0100 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Borja Marcos wrote: > Anyone knows what is the clone() system call in Lunux? > It seems not to be supported by the Linux emulator. I tried running > the Linux version of Inferno and it died with something like > "clone(): unimplemented system call". It creates kernel threads. Since we don't have kernel threads yet, it can't be emulated. I modified the linux emulator on my system to print out the arguments to this system call just to check if Inferno was really trying to create a new thread or if the call could be emulated by fork(). > I did a "man clone" in a Linux box and it gave me > the "undocumented calls" man page. > It is described in the Linux html documentation. ---------------------------------- Robert Swindells - GenRad Ltd. rjs@genrad.co.uk - Work rjs@fdy2.demon.co.uk - Home