From: Arnd Bergmann <arnd@arndb.de>
To: "Aboo Valappil" <aboo@ABOOSPLANET.com>
Cc: "Luke Kenneth Casson Leighton" <lkcl@lkcl.net>,
"Fabiano Ramos" <ramos_fabiano@yahoo.com.br>,
<linux-kernel@vger.kernel.org>
Subject: Re: how do you call userspace syscalls (e.g. sys_rename) from inside kernel
Date: Mon, 11 Oct 2004 01:35:16 +0200 [thread overview]
Message-ID: <200410110135.20747.arnd@arndb.de> (raw)
In-Reply-To: <3D6FC8DFDDD0CE44A3BE652A27AD42A54569@naya.aboosplanet.com>
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
On Maandag 11 Oktober 2004 01:13, Aboo Valappil wrote:
> I also wanted not associate the file with the current/any
> processes.
>
> Any ideas on this ?
>
> Then I thought of using a work around and avoid opening files in kernel
> mode.
Most of the code that traditionally used to read files from inside the
kernel can be converted to calling request_firmware(). The basic
idea is that you have a user space helper that writes the data into
the kernel instead of the other way round.
Arnd <><
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-10-10 23:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-10 23:13 how do you call userspace syscalls (e.g. sys_rename) from inside kernel Aboo Valappil
2004-10-10 23:35 ` Arnd Bergmann [this message]
2004-10-11 9:56 ` Jirka Kosina
-- strict thread matches above, loose matches on Subject: below --
2004-10-08 13:04 Luke Kenneth Casson Leighton
2004-10-08 13:07 ` Fabiano Ramos
2004-10-08 13:38 ` Brice Goglin
2004-10-08 15:04 ` Fabiano Ramos
2004-10-08 15:35 ` Luke Kenneth Casson Leighton
2004-10-08 14:02 ` Brian Gerst
2004-10-08 15:18 ` Luke Kenneth Casson Leighton
2004-10-08 15:12 ` Bernd Petrovitsch
2004-10-08 17:03 ` Luke Kenneth Casson Leighton
2004-10-08 15:18 ` Brice Goglin
2004-10-08 16:20 ` Luke Kenneth Casson Leighton
2004-10-08 16:37 ` Jan-Benedict Glaw
2004-10-08 17:37 ` Luke Kenneth Casson Leighton
2004-10-08 15:27 ` Brian Gerst
2004-10-08 17:04 ` Luke Kenneth Casson Leighton
2004-10-12 0:15 ` Jon Masters
2004-10-12 13:16 ` Luke Kenneth Casson Leighton
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=200410110135.20747.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=aboo@ABOOSPLANET.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkcl@lkcl.net \
--cc=ramos_fabiano@yahoo.com.br \
/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