Re: open in kernelspace

2000-12-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Tomasz Paszkowski writes: 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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [EMAIL PROTECTED] | TCP/IP since RFC

Re: open in kernelspace

2000-12-20 Thread Tomasz Paszkowski
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 -- _ __ __ / \ | | / / / \ / \

Re: open in kernelspace

2000-12-20 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], 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

Re: open in kernelspace

2000-12-20 Thread Tomasz Paszkowski
On Wed, Dec 20, 2000 at 11:10:53PM +0100, Poul-Henning Kamp wrote: 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... I'm trying to open file located on /, from kernel