All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Arjan van de Ven <arjanv@redhat.com>
Cc: "David S. Miller" <davem@redhat.com>,
	ak@suse.de, akpm@digeo.com, linux-kernel@vger.kernel.org
Subject: Re: must-fix list, v5
Date: Thu, 29 May 2003 22:10:10 +0200	[thread overview]
Message-ID: <20030529201010.GF1454@elf.ucw.cz> (raw)
In-Reply-To: <1054208379.5223.0.camel@laptop.fenrus.com>

Hi!

> >    What is copy_in_user?
> > 
> > Both source and destination pointers are in userspace.
> 
> sys_memcpy() ?

No, its for in-kernel usage. If you want to copy 10 bytes in
userspace, you can't use memcpy()... You'd have to do copy_from_user()
then copy_to_user(); and that's what copy_in_user does.

							Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2003-05-29 19:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030521152255.4aa32fba.akpm@digeo.com.suse.lists.linux.kernel>
     [not found] ` <20030521152334.4b04c5c9.akpm@digeo.com.suse.lists.linux.kernel>
     [not found]   ` <20030526093717.GC642@zaurus.ucw.cz.suse.lists.linux.kernel>
     [not found]     ` <20030528144839.47efdc4f.akpm@digeo.com.suse.lists.linux.kernel>
     [not found]       ` <20030528215551.GB255@elf.ucw.cz.suse.lists.linux.kernel>
2003-05-29  9:17         ` must-fix list, v5 Andi Kleen
2003-05-29  9:32           ` David S. Miller
2003-05-29  9:46             ` Pavel Machek
2003-05-29 10:01               ` David S. Miller
2003-05-29 10:03                 ` Pavel Machek
2003-05-29  9:46             ` Andi Kleen
2003-05-29 10:01               ` David S. Miller
2003-05-29 11:25             ` Pavel Machek
2003-05-29 11:26               ` David S. Miller
2003-05-29 11:39                 ` Arjan van de Ven
2003-05-29 20:10                   ` Pavel Machek [this message]
2003-05-29 20:06             ` Pavel Machek
2003-05-29 21:15               ` David S. Miller
2003-05-22  8:16 Grover, Andrew
2003-05-22  8:31 ` Andrew Morton
2003-05-22 14:23   ` Jos Hulzink
  -- strict thread matches above, loose matches on Subject: below --
2003-05-21 23:59 Arnd Bergmann
2003-05-21 22:22 Andrew Morton
2003-05-21 22:23 ` Andrew Morton
2003-05-21 22:49   ` Tom Rini
2003-05-21 22:55     ` Andrew Morton
2003-05-26  9:37   ` Pavel Machek
2003-05-28 21:48     ` Andrew Morton
2003-05-28 21:55       ` Pavel Machek
2003-05-28 22:06         ` Andrew Morton
     [not found]           ` <20030528221812.GC255@elf.ucw.cz>
2003-05-28 22:46             ` Andrew Morton
2003-05-28 23:03               ` Pavel Machek
2003-05-29 11:13               ` Pavel Machek
2003-05-21 22:41 ` Andrew Morton
2003-05-22  1:03 ` Carl-Daniel Hailfinger
2003-05-22  3:08   ` oxymoron
2003-05-22  1:25 ` Andrew Theurer
2003-05-22  6:24 ` Jens Axboe
2003-05-25 21:05 ` Daniel Jacobowitz

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=20030529201010.GF1454@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=ak@suse.de \
    --cc=akpm@digeo.com \
    --cc=arjanv@redhat.com \
    --cc=davem@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.