CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2020/09/03 09:30:17

Modified files:
        sys/dev/wscons : wsdisplay_compat_usl.c 

Log message:
The "USL" VT switch and keyboard ioctls are a hack and don't follow the
proper BSD way where the third argument is always a pointer and data is
transferred between userland and kernel using copyin(9) and copyout(9).
Intead an int is encoded in the thirs argument.  This works on 32-bit
architectures and little-endian 64-bit architectures.  But not on
big-endian 64-bit architectures.  Deal with this by handling the argument
as long (which matches the size of a pointer).

Hopefully we can eliminate these ioctls in the near future.

ok deraadt@

Reply via email to