From owner-freebsd-hackers Sat Sep 15 10:38:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id E801437B408 for ; Sat, 15 Sep 2001 10:38:29 -0700 (PDT) Received: from elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA06756; Sat, 15 Sep 2001 11:13:38 -0700 (PDT) Message-ID: <3BA38F7D.C0167616@elischer.org> Date: Sat, 15 Sep 2001 10:27:25 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Sansonetti Laurent Cc: freebsd-hackers@freebsd.org Subject: Re: storing routine code in kernel memory using kvm interface References: <001501c13de3$45dd8320$0201a8c0@teledisnet.be> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sansonetti Laurent wrote: > > Hi, > > Is there a way to store a function in kernel memory using KVM interface ? > > I have written a tty spy'er, which simply hijack discipline line entries for > a tty, and as you know probably, those routines must be situated in kernel > land. > > I know that I should use KLD for that, but i'm still curious.. why not use thw snoop interface? > > -- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message