From owner-freebsd-hackers Fri Jan 30 12:26:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10766 for hackers-outgoing; Fri, 30 Jan 1998 12:26:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10756 for ; Fri, 30 Jan 1998 12:26:37 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA03209; Fri, 30 Jan 1998 12:26:06 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma003207; Fri Jan 30 12:25:49 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA16161; Fri, 30 Jan 1998 12:25:48 -0800 (PST) From: Archie Cobbs Message-Id: <199801302025.MAA16161@bubba.whistle.com> Subject: Re: Sending messages from a lkm In-Reply-To: <34D2015F.60A107C5@rl.af.mil> from Charles Green at "Jan 30, 98 11:35:43 am" To: greenc@rl.af.mil (Charles Green) Date: Fri, 30 Jan 1998 12:25:48 -0800 (PST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" Charles Green writes: > I have an unusual question, I've written a loadable kernel > module and I would like to be able to pass messages from > the lkm to an external application. What would the most > efficient way of doing this be? The way that SKIP does it is by creating a new device. Then the user code opens that device (/dev/skip) and does whatever. Check out the SKIP port if interested in the details of how it works: /usr/ports/security/skip. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com