[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200610162128.45229.oliver@neukum.org>
Date: Mon, 16 Oct 2006 21:28:44 +0200
From: Oliver Neukum <oliver@...kum.org>
To: mfbaustx <mfbaustx@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: copy_from_user / copy_to_user with no swap space
Am Montag, 16. Oktober 2006 21:19 schrieb mfbaustx:
> So, IF you MUST copy_from/to_user when in the context of the process, AND
> IF you have no virtual memory/swapping, THEN must it not be true that you
> can ALWAYS dereferences your user space pointers?
No. Your code may be only partially paged into RAM.
The same can happen for any mmaped data.
Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists