Thread (5 messages) 5 messages, 4 authors, 2004-09-29

Re: opening a file inside the kernel module

From: Jeff Garzik <hidden>
Date: 2004-09-29 05:00:33
Also in: lkml

Rakesh Jagota wrote:
Hi all,
I am working in linux, i would like to know abt whether can I open a file
inside the kernel module without using any application. If so how how the
files_struct will be maintained. Does a kernel module has this struct?
Don't do this.  It's incompatible with namespaces.

Instead, figure out some way to pass the file contents to the kernel module.

	Jeff


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help