Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



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 filled
> is for kernel use and not for userland.
> 
> 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.

Attachment: pgpTkOwcXOh5F.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index