[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

open/read/write in kernel space



Hello

AFAIG one can't use the usual open, read & write calls or alloc memory  
within realtime threads. Okay, but one can use kmalloc() in init_module()
the question now is: Whats about file access in init_module() ? One could use 
sys_read() sys_write() etc. to do this, no?

Did anyone tried similiar or is there some reason that renders this approch 
useless? 

lothar