From: "Rajeev Bector" <rbector@andiamo.com>
To: "Linux-Kernel" <linux-kernel@vger.kernel.org>
Subject: Question about kernel threads
Date: Thu, 6 Sep 2001 20:08:09 -0700 [thread overview]
Message-ID: <GIEMIEJKPLDGHDJKJELAMEBNCHAA.rbector@andiamo.com> (raw)
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
reply other threads:[~2001-09-07 3:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=GIEMIEJKPLDGHDJKJELAMEBNCHAA.rbector@andiamo.com \
--to=rbector@andiamo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®