Subject: Re: CVS commit: src/sys/sys
To: Reinoud Zandijk <reinoud@netbsd.org>
From: Daniel Carosone <dan@geek.com.au>
List: source-changes
Date: 02/17/2005 11:43:51
--Bu8it7iiRSEf40bY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Feb 16, 2005 at 11:34:05PM +0000, Reinoud Zandijk wrote:
> Add the KERNEL-only flag FKIOCTL (like its named in Solaris) to be passed
> as extra flag to VOP_IOCTL() calls to indicate that addresses/data blocks
> specified in the ioctl paramter like an address to a datablock to be fill=
ed
> is for kernel use and not for userland.
>=20
> The few ioctl calls that have this kind of variable-length parameter
> passing can then decide if they ought to use copyout() or to use memcpy()
> depending on this FKIOCTL flag.
Can we please make sure that no ioctl from userland is able to pass
this flag, if it doesn't already check.
--
Dan.
--Bu8it7iiRSEf40bY
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iD8DBQFCE+jHEAVxvV4N66cRArzGAKC87exD5ZEybASTKqEBjXXjcJt5mQCcD5zC
lzUCSWWIDUQ7Xd6a18RSK3Y=
=8CwH
-----END PGP SIGNATURE-----
--Bu8it7iiRSEf40bY--