On Wed, Sep 20, 2006 at 01:56:05AM +0400, Ruslan Ermilov wrote:
> 
> The proper fix would be to fix the kernel to pass an argument by
> value, like the userland does.  But from the practical point of
> view, it may make sense to change the API and say that these
> IOCTLs now take a pointer type argument.  I'm not sure.  If you
> know of any applications (mine test util not counting :-) that
> use KDSKBMODE/KDSETLED/KDSKBSTATE, then we should probably fix
> the kernel callers.

XFree86/Xorg use KDSKBMODE and KDSETLED, see f.e. the Xorg
"kbd" driver:
http://webcvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/os-support/bsd/bsd_kbd.c?revision=1.8&view=markup

Marius

_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to