From owner-freebsd-current@FreeBSD.ORG Tue Apr 26 13:45:13 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F23E71065672; Tue, 26 Apr 2011 13:45:13 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id A99F58FC1F; Tue, 26 Apr 2011 13:45:13 +0000 (UTC) Received: from outgoing.leidinger.net (p5B155B0F.dip.t-dialin.net [91.21.91.15]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 82A04844015; Tue, 26 Apr 2011 15:44:59 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 959D91152; Tue, 26 Apr 2011 15:44:56 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p3QDiuh2055815; Tue, 26 Apr 2011 15:44:56 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 26 Apr 2011 15:44:56 +0200 Message-ID: <20110426154456.15502ccrzrmoxv8k@webmail.leidinger.net> Date: Tue, 26 Apr 2011 15:44:56 +0200 From: Alexander Leidinger To: Julian Elischer References: <4DB22B26.3040603@freebsd.org> In-Reply-To: <4DB22B26.3040603@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 82A04844015.AEE3A X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1, required 6, autolearn=disabled, J_BACKHAIR_57 1.00) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1304430300.82491@gPHNvpza81nfh3mZczkajQ X-EBL-Spam-Status: No Cc: FreeBSD Current Subject: Re: bsd/linux ioctl. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 13:45:14 -0000 Quoting Julian Elischer (from Fri, 22 Apr 2011 18:28:06 -0700): [linux ioctl compatibility] > So my first question is "is this hack commonly known?" > and secondly "should we clean it up and put it in an ioctl(9) man page?" > > We should probably have such a page. Do we have a driver porter's handbook? > a quick look failed to find any mention of this in any documentation. The closest I can come up with regarding some Linux<->FreeBSD porting is http://wiki.freebsd.org/AvoidingLinuxisms It's not really what you asked for, but it's somewhat related. Bye, Alexander. -- DEADWOOD: Anyone in your company who is more senior than you are. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137