Subject: Re: ioctl_copy{in,out} proposal
To: None <tech-kern@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-kern
Date: 08/28/2005 15:54:23
On 8/28/05, Reinoud Zandijk <reinoud@netbsd.org> wrote:
> Dear folks,
>=20
> On Fri, Aug 26, 2005 at 05:14:08PM +0200, Reinoud Zandijk wrote:
> > Maybe its better to keep it to ioctl_copyin() and ioctl_copyout() for t=
hat
> > are the places that its going to be usefull most. If other places have
> > similar issues we could create the stubs for them too.
>=20
> now the updated and more complete patch for ioctl_copyin/ioctl_copyout. O=
ne
> might ask why such a feedback but consider it my learning curve for more
> consistent patches:
[...]
> RCS file: /cvsroot/src/share/man/man9/copy.9,v
> retrieving revision 1.14
> diff -u -r1.14 copy.9
> --- share/man/man9/copy.9       16 Apr 2003 13:35:26 -0000      1.14
> +++ share/man/man9/copy.9       28 Aug 2005 13:36:50 -0000
> @@ -60,6 +60,10 @@
>  .Fn copyin_proc "struct proc *p" "const void *uaddr" "void *kaddr" "size=
_t len"
>  .Ft int
>  .Fn copyout_proc "struct proc *p" "const void *kaddr" "void *uaddr" "siz=
e_t len"
> +.Ft int
> +.Fn ioctl_copyin "int ioctlflags" "const void *src" "void *dst" "size_t =
len"
> +.Ft int
> +.Fn ioctl_copyout "int ioctlflags" "const void *src" "void *dst" "size_t=
 len"
>  .Sh DESCRIPTION
>  The
>  .Nm

Remember to bump the manpage's date.

--=20
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/