Re: file ops in kernel

Daniel Phillips (phillips@innominate.de)
Sun, 07 Jan 2001 17:35:58 +0100


david wrote:
>
> hi all
>
> i now need to read a file from in the kernel 2.2.x
> dose any one know how to this ?

Look at open_exec and kernel_read, but also consider whether you could
solve your problem more elegantly with help from user space. (This
should be in the FAQ.)

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/