Reading from files at kernel level

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Collin

Reading from files at kernel level

Post by Collin »

Hello,

I am wondering if it would be possible to modify some simple
asm code to read from a file at the kernel level. Also, is
it possible to read files at the kernel level, file system
notwithstanding? Can this be done?

Collin
Nick

RE:eading from files at kernel level

Post by Nick »

>On 2001-02-26 17:56:14, Collin wrote:
>Hello,
>
>I am wondering if it would be possible to modify some simple
>asm code to read from a file at the kernel level.
You sure can.

>Also, is it possible to read files at the kernel level, file system
>notwithstanding? Can this be done?

It all depends on your kernel design. If you have your file handling
(reading, writing, deleting, etc...) code in your kernel then you can.
Linux *CAN* do this since it is a monolithic kernel, and all it's
functions (including the file system) are inside the kernel.


--Nick
Post Reply