LKML Archive on
help / color / mirror / Atom feed
From: Jan Engelhardt <>
To: Jesper Juhl <>
Cc: congwen <>, linux-kernel <>
Subject: Re: How can I create or read/write a file in linux device driver?
Date: Fri, 12 Jan 2007 11:59:39 +0100 (MET)	[thread overview]
Message-ID: <Pine.LNX.4.61.0701121158460.17236@yvahk01.tjqt.qr> (raw)
In-Reply-To: <>

On Jan 12 2007 11:54, Jesper Juhl wrote:
>> The article does it the bad way. IMHO filp_open() and
>> vfs_read/vfs_write() are much less problematic wrt. to userspace.
>> FWIW see
> There is no good way.  You simply should NOT do it.

I never said there is a good way, just that some are better than others ;-)
As for quad_dsp, well, the reason why it's done in kernel-space is because
userspace wrapping with LD_PRELOAD does not always work, esp. with statically
compiled apps.


  reply	other threads:[~2007-01-12 11:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12  7:47 congwen
2007-01-12 10:27 ` Jesper Juhl
2007-01-12 10:43   ` Jan Engelhardt
2007-01-12 10:54     ` Jesper Juhl
2007-01-12 10:59       ` Jan Engelhardt [this message]
2007-01-12 13:24   ` Erik Mouw
2007-01-12 14:27     ` linux-os (Dick Johnson)
2007-01-12 14:42       ` Erik Mouw
2007-01-12 22:31       ` Jan Engelhardt
2007-01-19 10:35       ` Helge Hafting

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.61.0701121158460.17236@yvahk01.tjqt.qr \ \ \ \ \
    --subject='Re: How can I create or read/write a file in linux device driver?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).