Subject: Re: kcopy()
To: Matt Thomas <matt@3am-software.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 12/20/2003 14:24:04
--Apple-Mail-13--837436019
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Dec 20, 2003, at 9:21 AM, Matt Thomas wrote:
> If the address is from a user-process, you can't trust it at all.
> As I've said before, that shouldn't be allowed.
Right. I mean, it could be a valid kernel address, but just point to
the wrong data. Or, it could be a userspace address, in which case you
need to use copyin/copyout, not kcopy().
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--Apple-Mail-13--837436019
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQE/5MwEOpVKkaBm8XkRAieAAKCzz2ZdUNjC2wLBUbaXQZoFMbd4CQCgk/po
bZebogYuU69ydkQjz39fgm8=
=8IlC
-----END PGP SIGNATURE-----
--Apple-Mail-13--837436019--