lkml.org 
[lkml]   [2001]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectQuestion about kernel threads
Date
Hi,
I have a simple question about kernel threads. Can they
open and close files just like user level processes ?
(by using sys_open()) etc. directly ? Are there any
side issues that we need to be aware about when doing that ?

I have a userlevel library (that client programs will link with
to get access to a kernel module) and there is a requirement
that other kernel modules (using kernel threads) wants to
use the same library to get access to other kernel module.
So I am having to port the library to work in kernel space.
(since the library opens and closes certain device drivers, I
am wondering if that'll work seemlessly from kernel space)

Thanks in advance for your answers !

regards,
Rajeev



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

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.113 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site