xf86-input-keyboard: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Thu Apr 30 23:22:25 PDT 2009
src/lnx_kbd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 810fe3a4afd7e77a645c312f9475e75c2f7e925c
Author: Alan Curry <pacman at kosh.dhis.org>
Date: Sat Feb 28 00:53:10 2009 -0500
KDGETLED needs a char, not an int.
KDGETLED actually only stores a single byte at the address indicated by
&real_leds, which on big-endian systems means the kernel's led state is put
into the most-significant byte of real_leds. The LED_CAP LED_NUM LED_SCR
macros then extract some bits from the least-significant byte, which still
contains stack garbage since real_leds hasn't been initialized.
Don't believe what the console_ioctl(4) man page says. It's wrong. Go read
drivers/char/vt_ioctl.c in the kernel source.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
More information about the xorg-commit
mailing list