Subject: Re: COPYIN/COPYOUT macro problems Re: IOCTL implementation and kernel/userland addresses
To: Jason Thorpe <thorpej@shagadelic.org>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 08/25/2005 22:24:45
--Y9FGoQKSF2AxjRbT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 25, 2005 at 12:44:52PM -0700, Jason Thorpe wrote:
>=20
> On Aug 25, 2005, at 12:09 PM, Reinoud Zandijk wrote:
[...]
> >int kucopyin(int kernelspace, void *uaddr, void *kaddr, int len) {
>=20
> void *from, void *to, size_t len

const void *from, just like copyin/out.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--Y9FGoQKSF2AxjRbT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQw4pDdgoQloHrPnoAQKQTgf+O57e3Dfk7fJXuZ9nM9SumfTjjcgbBrFN
9Lc5e/LPdS74mg1Gbon3oPdHauEvTMfxn8JfChkrLR01BHURmrYP95CiYv4hvGMR
3EVRc9RHBWJCIOYtYENo9w19+aCcclpJOwtT1LPHAGrll658Y/xufA3B5gCH3D9u
NIieWjkpX4VwMutJJozUT46fwSPwSyqrsqdSp4jXhFb/FL9Qeh1xlTjFQsF7qG79
AfnXdU4WbdyZxFrGYnCl9P8Gp1vyGmPY83+JmXKytNiiatVQdUzF860oc1RzLwnS
biAFEXR0VdmXRvQJljKizsmf2mq10+NVTOVJ8N3vKobv0RrvRFrd7A==
=WOYq
-----END PGP SIGNATURE-----

--Y9FGoQKSF2AxjRbT--