Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 23:10:53 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Tomasz Paszkowski <ns88@k.pl>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: open in kernelspace 
Message-ID:  <57110.977350253@critter>
In-Reply-To: Your message of "Wed, 20 Dec 2000 23:02:21 %2B0100." <20001220230221.A66954@genesis.k.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20001220230221.A66954@genesis.k.pl>, Tomasz Paszkowski writes:
>On Wed, Dec 20, 2000 at 10:52:05PM +0100, Poul-Henning Kamp wrote:
>> > How to open && read file from kernel space. I have seen VOP_[READ,OPEN]
>> > but i think there's something easiest ?
>> 
>> VOP_* is the way to go.
>
> :(( So I'll have a long night

Sorry, yes...

ktrace, various accounting and of course open(2) will be the best 
places to start.

In all likely hood you're trying to do something the wrong way
though...

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57110.977350253>