From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 12 09:56:18 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D2D337B401 for ; Tue, 12 Aug 2003 09:56:18 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id C962243F85 for ; Tue, 12 Aug 2003 09:56:16 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp42.pn.xcllnt.net (dhcp42.pn.xcllnt.net [192.168.4.242]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7CGuAwO081454; Tue, 12 Aug 2003 09:56:10 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp42.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h7CGuATZ000741; Tue, 12 Aug 2003 09:56:10 -0700 (PDT) (envelope-from marcel@dhcp42.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp42.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h7CGuAdk000740; Tue, 12 Aug 2003 09:56:10 -0700 (PDT) (envelope-from marcel) Date: Tue, 12 Aug 2003 09:56:10 -0700 From: Marcel Moolenaar To: Steven Hartland Message-ID: <20030812165610.GA579@dhcp42.pn.xcllnt.net> References: <001d01c360ec$5c58aed0$0300a8c0@Xoanon> <021301c360f0$c571e860$b3db87d4@vader> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <021301c360f0$c571e860$b3db87d4@vader> User-Agent: Mutt/1.5.4i cc: freebsd-hackers@freebsd.org Subject: Re: Missing system call in linux emulation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 16:56:18 -0000 On Tue, Aug 12, 2003 at 05:42:51PM +0100, Steven Hartland wrote: > > Any one know how I can track down what function is missing and hence > look at fixing it? In the linux kernel source tree, look in arch/i386/kernel/entry.S. There you'll find all the syscall entry points. Currently they go all the way to 271. Also look at arch/alpha/kernel/entry.S... Then, in /sys/i386/linux look in syscalls.master. There you'll see we only have syscalls up to 221. See also /sys/alpha/linux... One could: o Add proper prototypes to syscalls.master of the 50 new syscalls we don't know about, o Declare all these syscalls as dummies (see linux_dummy.c) to begin with, o Really implement those syscalls that are used in practice. Syscall 252 is exit_group(2). FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net