From: Christoph Hellwig <hch@infradead.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: LKML <linux-kernel@vger.kernel.org>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] compat_sys_read/write
Date: Thu, 28 Jul 2005 15:16:53 +0100 [thread overview]
Message-ID: <20050728141653.GA22173@infradead.org> (raw)
In-Reply-To: <20050728234341.3303d5fe.sfr@canb.auug.org.au>
On Thu, Jul 28, 2005 at 11:43:41PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> Someone mentioned the mess in evdev.c that is caused by the fact that the
> structures that are passed to/from user mode via read/write require
> conversion when this API is used from 32 bit tasks on 64 bit kernels.
> Some "discussion" followed during which I suggested an idea originally
> from Matthew Wilcox of an arch-specific is_compat_task() function so that
> these places could be identified. However it was considered better to
> instead implement compat_sys_read/write.
This looks totally horrible, especially as we'd need readv/writev and
pread/pwrite aswell. I don't think anyone but Andi actually liked this
approach when discussed earlier.
next prev parent reply other threads:[~2005-07-28 14:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-28 13:43 Stephen Rothwell
2005-07-28 14:16 ` Christoph Hellwig [this message]
2005-07-28 14:48 ` Stephen Rothwell
2005-07-28 14:53 ` Stephen Rothwell
2005-07-28 15:02 ` Christoph Hellwig
2005-07-28 15:13 ` Stephen Rothwell
2005-07-28 15:16 ` Christoph Hellwig
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=20050728141653.GA22173@infradead.org \
--to=hch@infradead.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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®