From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 21 06:19:25 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 35B1A37B401 for ; Mon, 21 Jul 2003 06:19:25 -0700 (PDT) Received: from www.bluecirclesoft.com (cvg-65-26-145-190.cinci.rr.com [65.26.145.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5198E43F75 for ; Mon, 21 Jul 2003 06:19:24 -0700 (PDT) (envelope-from marc.ramirez@bluecirclesoft.com) Received: from www.bluecirclesoft.com (localhost [127.0.0.1]) h6LDJHSW047220; Mon, 21 Jul 2003 09:19:17 -0400 (EDT) (envelope-from mrami@bluecirclesoft.com) Received: from localhost (mrami@localhost)h6LDJGun047217; Mon, 21 Jul 2003 09:19:17 -0400 (EDT) X-Authentication-Warning: www.bluecirclesoft.com: mrami owned process doing -bs Date: Mon, 21 Jul 2003 09:19:15 -0400 (EDT) From: Marc Ramirez To: "M. Warner Losh" In-Reply-To: <20030719.111654.28438110.imp@bsdimp.com> Message-ID: <20030721091758.A47203@www.bluecirclesoft.com> References: <20030718150047.O61759@www.bluecirclesoft.com> <20030719.111654.28438110.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: marc.ramirez@bluecirclesoft.com cc: freebsd-hackers@freebsd.org Subject: Re: Communications kernel -> userland 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: Mon, 21 Jul 2003 13:19:25 -0000 On Sat, 19 Jul 2003, M. Warner Losh wrote: > In message: <20030718150047.O61759@www.bluecirclesoft.com> > Marc Ramirez writes: > : I have a device driver that needs to make requests for data from a > : userland daemon. What's the preferred method for doing this in 4.8R and > : 5.1R? I'm assuming the answer is Unix-domain sockets... > > what's wrong with a simple read channel? Nothing except that this is my first real foray into non-trivial kernel programming. :) Marc. > why complicate things by > bringing sockets into it? > > Warner > > -- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) www.bluecirclesoft.com