From owner-freebsd-emulation Wed Nov 7 20:37:23 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 7F6FB37B405 for ; Wed, 7 Nov 2001 20:37:15 -0800 (PST) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id fA84bFQ11024; Wed, 7 Nov 2001 20:37:15 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id fA84bGc01217; Wed, 7 Nov 2001 20:37:16 -0800 (PST) (envelope-from marcel) Date: Wed, 7 Nov 2001 20:37:15 -0800 From: Marcel Moolenaar To: Dag-Erling Smorgrav Cc: "K.Sumitani" , emulation@FreeBSD.ORG Subject: Re: Linuxulator MFC and VMware Message-ID: <20011107203715.A1106@dhcp01.pn.xcllnt.net> References: <20011107234409.XACFC0A8274C.C78F0C8A@mail.biglobe.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Nov 07, 2001 at 04:58:41PM +0100, Dag-Erling Smorgrav wrote: > Dag-Erling Smorgrav writes: > > I'll have a patch ready later tonight. > > Attached. > > This is a hack; it's linux_ioctl()'s responsibility to check that the > fd is a socket before calling linux_ioctl_socket(), and there should > be a separate function for non-socket GIFADDR/SIFADDR/PRIVATE ioctls. > I'll see if I can come up with something better when I'm back from > Brighton; in the meantime, use either Marcel's patch or this one if > they work and don't break anything else (I think Marcel's patch breaks > ifconfig). Bummer. I forgot to test this today at work (that's where I have the only -stable machine I can "develop" on). I'll do it tomorrow... If someone has tested this in the mean time; please report when it works, not only when it doesn't work. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message