From: Matt Young <wz6b@arrl.net>
To: linux-kernel@vger.kernel.org
Subject: Operations inside a module
Date: Thu, 21 Nov 2002 11:59:03 -0800 [thread overview]
Message-ID: <200211211159.03552.wz6b@arrl.net> (raw)
Within the open routine of my module I need to open another device; and the
write routine needs to write to the other device.
User space system calls seem to be unavailable to module code.
I know about swapping the DS and ES to fake out other modules; then using
sys_write etc.
Can my code just include the standard syscall lib and use them from kernel
space?
My module code would also like to use user space malloc, is this a problem?
Matt
next reply other threads:[~2002-11-21 19:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-21 19:59 Matt Young [this message]
2002-11-21 20:24 ` Rik van Riel
2002-11-21 20:31 ` Richard B. Johnson
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=200211211159.03552.wz6b@arrl.net \
--to=wz6b@arrl.net \
--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®