From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 27 12:10:04 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F6381065684 for ; Mon, 27 Oct 2008 12:10:04 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B11028FC25 for ; Mon, 27 Oct 2008 12:10:03 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2C70D.dip.t-dialin.net [217.226.199.13]) by redbull.bpaserver.net (Postfix) with ESMTP id A35762E35C; Mon, 27 Oct 2008 13:09:43 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 5FCF135A87; Mon, 27 Oct 2008 13:09:40 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m9RC9e13075276; Mon, 27 Oct 2008 13:09:40 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 27 Oct 2008 13:09:39 +0100 Message-ID: <20081027130939.22366y2j8jw0etss@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 27 Oct 2008 13:09:39 +0100 From: Alexander Leidinger To: Martin Laabs References: <20081026105252.GA45809@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: A35762E35C.A3239 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: spam, ORDB-RBL, SBL+XBL, SpamAssassin (not cached, score=-12.904, required 6, BAYES_00 -15.00, J_CHICKENPOX_52 0.60, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: Yes X-Mailman-Approved-At: Mon, 27 Oct 2008 12:19:14 +0000 Cc: "freebsd-emulation@freebsd.org" Subject: Re: linux-libusb done X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2008 12:10:04 -0000 Quoting Martin Laabs (from Mon, =20 27 Oct 2008 10:27:17 +0100): > Hi, > > On Sun, 26 Oct 2008 11:52:52 +0100, Roman Divacky =20 > wrote: > >> please show us the linuxulator patch and I'll see what I can do about it.= .. > > I've append the patch for the linux.ko module as well as the patch for the > bsd.c in libusb-0.12. I don't comment on the content, Roman already did. I concentrate on =20 the "pureness" of the linuxulator. What you do here is mixing FreeBSD ioctls with linux ones. While I =20 welcome this for sure, I suggest to not enable it by default. I =20 suggest to have a sysctl compat.linux.bsd_ioctl_passthrough or =20 something like this, which enables this upon request. Currently it =20 seems the ioctls are distinct, but in case there will be some ioctls =20 which are the same number but have a different semantic/syntax, the =20 sysctl-approach make this a little bit more easy to handle (it means =20 that the feature is optional and needs to be enable by intend, and if =20 there's a clash in the future, we have some safety net). Bye, Alexander. --=20 By trying we can easily learn to endure adversity. Another man's, I mean. =09=09-- Mark Twain http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137