Source-Changes archive

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

CVS commit: src/sys/sys



Module Name:    src
Committed By:   reinoud
Date:           Wed Feb 16 23:34:05 UTC 2005

Modified Files:
        src/sys/sys: fcntl.h

Log Message:
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.

Name and patch discussed on tech-kern.


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/sys/fcntl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index